Function at 0x4b6020
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x1b4
push 0xffffffffffffffff
push 0x5bee57
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp + 0x160], edi
mov dword [ebp + 0x164], 7
mov word [ebp + 0x150], ax
mov dword [ebp - 4], eax
mov eax, 0x6aaee4
cmp dword [0x6aaef8], 8
push 0x5f3754
cmovae eax, dword [0x6aaee4]
push eax
call fcn.0059a65c
add esp, 8
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4b6fcd
push 2
push 0x5f37d0
lea ecx, [ebp + 0x150]
call fcn.00445cb0
push 2
push 0x5f37d0
lea ecx, [ebp + 0x150]
call fcn.00448340
push 2
push 0x5f37d0
lea ecx, [ebp + 0x150]
call fcn.00448340
push 2
push 0x5f37d0
lea ecx, [ebp + 0x150]
call fcn.00448340
push 1
push 0x5e2f34
lea ecx, [ebp + 0x150]
call fcn.00448340
mov esi, dword [ebx + 0x2800]
mov edx, dword [ebx + 0x2804]
cmp esi, edx
je 0x4b63dd
sub edx, esi
mov eax, 0x88888889
mov dword [ebp - 0x20], edx
xor ecx, ecx
imul edx
mov dword [ebp - 0x1c], ecx
add edx, dword [ebp - 0x20]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4b63ef
xor eax, eax
mov dword [ebp - 0x18], eax
add eax, 0x18
add esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x180]
xor eax, eax
mov dword [ebp + 0x190], 0
mov word [ebp + 0x180], ax
or edi, 1
lea eax, [esi + 0x10]
mov dword [ebp + 0x194], 7
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0x24], edi
call fcn.0044c830
cmp dword [esi + 0x14], 8
jb 0x4b6190
mov esi, dword [esi]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp + 0x180]
push dword [eax]
push esi
call fcn.00448340
push 1
push 0x5f375c
lea ecx, [ebp + 0x180]
call fcn.00448340
mov eax, dword [ebx + 0x2800]
add eax, dword [ebp - 0x18]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b61c6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x180]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x1a8], 0
mov dword [ebp + 0x1ac], 0
or edi, 2
mov dword [ebp - 0x10], edi
mov ecx, dword [edx]
mov dword [ebp + 0x198], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x19c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x1a0], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x1a4], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x1a8], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x1ac], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
push 2
push 0x5f37c8
lea ecx, [ebp + 0x198]
mov byte [ebp - 4], 2
call fcn.00448340
xor edi, edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [ebp + 0x16c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp + 0x170], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0x174], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], di
mov edi, dword [ebp - 0x24]
or edi, 6
mov dword [ebp + 0x168], esi
mov dword [ebp + 0x178], edx
mov dword [ebp + 0x17c], ecx
mov dword [ebp - 0x10], edi
cmp ecx, 8
mov byte [ebp - 4], 3
lea eax, [ebp + 0x168]
cmovae eax, esi
lea ecx, [ebp + 0x150]
push edx
push eax
call fcn.00448340
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x17c]
cmp edx, 8
jb 0x4b6301
mov ecx, dword [ebp + 0x168]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b62f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6ffb
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x1ac]
cmp edx, 8
jb 0x4b6345
mov ecx, dword [ebp + 0x198]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b633b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6ffb
push edx
push ecx
call fcn.0056eec5
add esp, 8
xor eax, eax
mov dword [ebp + 0x1a8], 0
mov byte [ebp - 4], al
and edi, 0xfffffffe
mov edx, dword [ebp + 0x194]
mov dword [ebp + 0x1ac], 7
mov word [ebp + 0x198], ax
cmp edx, 8
jb 0x4b63a8
mov ecx, dword [ebp + 0x180]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b639e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6ffb
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ecx, dword [ebx + 0x2804]
mov eax, 0x88888889
mov esi, dword [ebx + 0x2800]
sub ecx, esi
inc dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x3c
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
jge 0x4b63ef
mov eax, dword [ebp - 0x18]
jmp 0x4b6144
push 1
push 0x5f3760
lea ecx, [ebp + 0x150]
call fcn.00448340
push 1
push 0x5e2f34
lea ecx, [ebp + 0x150]
call fcn.00448340
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x2800]
mov ecx, dword [eax + 0x2804]
cmp ebx, ecx
je 0x4b6f7d
xor edx, edx
sub ecx, ebx
mov dword [ebp - 0x20], edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4b6f8f
xor esi, esi
mov dword [ebp - 0x24], esi
nop
xor ecx, ecx
mov eax, 0x4bda12f7
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + esi + 0x34]
sub ecx, dword [ebx + esi + 0x30]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebx
test eax, eax
jle 0x4b6f49
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ecx]
mov esi, dword [ebx + esi + 0x30]
add esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp]
xor eax, eax
mov dword [ebp + 0x10], 0
mov word [ebp], ax
or edi, 8
lea eax, [esi + 0x10]
mov dword [ebp + 0x14], 7
mov dword [ebp - 0x28], eax
mov ebx, edi
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x10], edi
push eax
call fcn.0044c830
cmp dword [esi + 0x14], 8
jb 0x4b64b0
mov esi, dword [esi]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp]
push dword [eax]
push esi
call fcn.00448340
push 1
push 0x5f375c
lea ecx, [ebp]
call fcn.00448340
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax + 0x2800]
mov eax, dword [eax + esi + 0x30]
add eax, dword [ebp - 0x18]
cmp dword [eax + 0x2c], 8
lea ecx, [eax + 0x18]
jb 0x4b64ec
mov ecx, dword [eax + 0x18]
push dword [eax + 0x28]
push ecx
lea ecx, [ebp]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x178], 0
mov dword [ebp + 0x17c], 0
or edi, 0x10
mov dword [ebp - 0x10], edi
mov ecx, dword [edx]
mov dword [ebp + 0x168], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x16c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x170], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x174], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x178], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x17c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
push 1
push 0x5f375c
lea ecx, [ebp + 0x168]
mov byte [ebp - 4], 5
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x190], 0
mov dword [ebp + 0x194], 0
mov ecx, dword [edx]
mov dword [ebp + 0x180], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x184], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x188], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x18c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x190], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x194], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x30
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 6
mov eax, dword [eax + 0x2800]
mov eax, dword [eax + esi + 0x30]
add eax, edi
cmp dword [eax + 0x44], 8
lea ecx, [eax + 0x30]
jb 0x4b65fa
mov ecx, dword [eax + 0x30]
push dword [eax + 0x40]
push ecx
lea ecx, [ebp + 0x180]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov ecx, dword [edx]
mov dword [ebp + 0x30], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x34], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x38], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x3c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x40], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x44], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x70
mov dword [ebp - 0x10], eax
push 1
push 0x5f375c
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 7
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov ecx, dword [edx]
mov dword [ebp + 0x48], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x4c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x50], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x54], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x58], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x5c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0xf0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0x2800]
add eax, esi
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b66d3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x48]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
mov ecx, dword [edx]
mov dword [ebp + 0x60], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x64], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x68], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x6c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x70], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x74], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x1f0
mov dword [ebp - 0x10], eax
push 1
push 0x5f375c
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 9
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x88], 0
mov dword [ebp + 0x8c], 0
mov ecx, dword [edx]
mov dword [ebp + 0x78], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x7c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x80], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x84], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x88], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x8c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x3f0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
mov eax, dword [eax + 0x2800]
mov eax, dword [eax + esi + 0x30]
add eax, edi
cmp dword [eax + 0x74], 8
lea ecx, [eax + 0x60]
jb 0x4b67c3
mov ecx, dword [eax + 0x60]
push dword [eax + 0x70]
push ecx
lea ecx, [ebp + 0x78]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0xa0], 0
mov dword [ebp + 0xa4], 0
mov ecx, dword [edx]
mov dword [ebp + 0x90], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x94], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x98], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x9c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0xa0], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0xa4], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x7f0
mov dword [ebp - 0x10], eax
push 1
push 0x5f375c
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xb
call fcn.00448340
mov edx, eax
mov dword [ebp + 0xb8], 0
mov dword [ebp + 0xbc], 0
mov ecx, dword [edx]
mov dword [ebp + 0xa8], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0xac], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0xb0], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0xb4], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0xb8], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0xbc], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0xff0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
mov eax, dword [eax + 0x2800]
mov eax, dword [eax + esi + 0x30]
add eax, edi
cmp dword [eax + 0x8c], 8
lea ecx, [eax + 0x78]
jb 0x4b68d7
mov ecx, dword [eax + 0x78]
push dword [eax + 0x88]
push ecx
lea ecx, [ebp + 0xa8]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0xd0], 0
mov dword [ebp + 0xd4], 0
mov ecx, dword [edx]
mov dword [ebp + 0xc0], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0xc4], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0xc8], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0xcc], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0xd0], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0xd4], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x1ff0
mov dword [ebp - 0x10], eax
push 1
push 0x5f375c
lea ecx, [ebp + 0xc0]
mov byte [ebp - 4], 0xd
call fcn.00448340
mov edx, eax
mov dword [ebp + 0xe8], 0
mov dword [ebp + 0xec], 0
mov ecx, dword [edx]
mov dword [ebp + 0xd8], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0xdc], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0xe0], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0xe4], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0xe8], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0xec], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x3ff0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
mov eax, dword [eax + 0x2800]
mov eax, dword [eax + esi + 0x30]
add eax, edi
cmp dword [eax + 0xa4], 8
lea ecx, [eax + 0x90]
jb 0x4b69f7
mov ecx, dword [eax + 0x90]
push dword [eax + 0xa0]
push ecx
lea ecx, [ebp + 0xd8]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x100], 0
mov dword [ebp + 0x104], 0
mov ecx, dword [edx]
mov dword [ebp + 0xf0], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0xf4], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0xf8], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0xfc], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x100], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x104], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x7ff0
mov dword [ebp - 0x10], eax
push 1
push 0x5f375c
lea ecx, [ebp + 0xf0]
mov byte [ebp - 4], 0xf
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x118], 0
mov dword [ebp + 0x11c], 0
mov ecx, dword [edx]
mov dword [ebp + 0x108], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x10c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x110], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x114], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x118], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x11c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0xfff0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 0x2800]
mov eax, dword [eax + esi + 0x30]
add eax, edi
cmp dword [eax + 0xbc], 8
lea ecx, [eax + 0xa8]
jb 0x4b6b17
mov ecx, dword [eax + 0xa8]
push dword [eax + 0xb8]
push ecx
lea ecx, [ebp + 0x108]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 0
mov ecx, dword [edx]
mov dword [ebp + 0x120], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x124], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x128], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x12c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x130], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x134], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x1fff0
mov dword [ebp - 0x10], eax
push 1
push 0x5f375c
lea ecx, [ebp + 0x120]
mov byte [ebp - 4], 0x11
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x148], 0
mov dword [ebp + 0x14c], 0
mov ecx, dword [edx]
mov dword [ebp + 0x138], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x13c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x140], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x144], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x148], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x14c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x3fff0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
mov eax, dword [eax + 0x2800]
mov eax, dword [eax + esi + 0x30]
add eax, edi
cmp dword [eax + 0xd4], 8
lea ecx, [eax + 0xc0]
jb 0x4b6c37
mov ecx, dword [eax + 0xc0]
push dword [eax + 0xd0]
push ecx
lea ecx, [ebp + 0x138]
call fcn.00448340
mov edx, eax
mov dword [ebp + 0x1a8], 0
mov dword [ebp + 0x1ac], 0
mov ecx, dword [edx]
mov dword [ebp + 0x198], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 0x19c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 0x1a0], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp + 0x1a4], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x1a8], eax
mov eax, dword [edx + 0x14]
mov dword [ebp + 0x1ac], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
or eax, 0x7fff0
mov dword [ebp - 0x10], eax
push 2
push 0x5f37c8
lea ecx, [ebp + 0x198]
mov byte [ebp - 4], 0x13
call fcn.00448340
xor edi, edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp + 0x20], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0x24], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], di
mov edi, ebx
or edi, 0xffff0
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], ecx
mov dword [ebp - 0x10], edi
cmp ecx, 8
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x18]
cmovae eax, esi
lea ecx, [ebp + 0x150]
push edx
push eax
call fcn.00448340
mov byte [ebp - 4], 0x13
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x4b6d60
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6d56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6ffb
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, dword [ebp + 0x1ac]
cmp edx, 8
jb 0x4b6da4
mov ecx, dword [ebp + 0x198]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6d9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6ffb
push edx
push ecx
call fcn.0056eec5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp + 0x14c]
mov dword [ebp + 0x1a8], 0
mov dword [ebp + 0x1ac], 7
mov word [ebp + 0x198], ax
cmp edx, 8
jb 0x4b6e05
mov ecx, dword [ebp + 0x138]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6dfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6ffb
push edx
push ecx
call fcn.0056eec5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp + 0x134]
mov dword [ebp + 0x148], 0
mov dword [ebp + 0x14c], 7
mov word [ebp + 0x138], ax
cmp edx, 8
jb 0x4b6e66
mov ecx, dword [ebp + 0x120]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6e5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6ffb
push edx
push ecx
call fcn.0056eec5
add esp, 8
xor eax, eax
mov dword [ebp + 0x130], 0
lea ecx, [ebp + 0x108]
mov dword [ebp + 0x134], 7
mov word [ebp + 0x120], ax
call fcn.00445c30
lea ecx, [ebp + 0xf0]
call fcn.00445c30
lea ecx, [ebp + 0xd8]
call fcn.00445c30
lea ecx, [ebp + 0xc0]
call fcn.00445c30
lea ecx, [ebp + 0xa8]
call fcn.00445c30
lea ecx, [ebp + 0x90]
call fcn.00445c30
lea ecx, [ebp + 0x78]
call fcn.00445c30
lea ecx, [ebp + 0x60]
call fcn.00445c30
lea ecx, [ebp + 0x48]
call fcn.00445c30
lea ecx, [ebp + 0x30]
call fcn.00445c30
lea ecx, [ebp + 0x180]
call fcn.00445c30
lea ecx, [ebp + 0x168]
call fcn.00445c30
lea ecx, [ebp]
mov byte [ebp - 4], 0
and edi, 0xfffffff7
call fcn.00445c30
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
inc dword [ebp - 0x1c]
add dword [ebp - 0x18], 0xd8
mov eax, dword [eax + 0x2800]
mov ebx, eax
mov ecx, dword [esi + eax + 0x34]
sub ecx, dword [esi + eax + 0x30]
mov eax, 0x4bda12f7
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
jl 0x4b6470
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ebx, edx
inc dword [ebp - 0x20]
add esi, 0x3c
mov dword [ebp - 0x24], esi
mov ecx, dword [eax + 0x2804]
mov eax, 0x88888889
sub ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x20], eax
jl 0x4b6440
jmp 0x4b6f8f
push 1
push 0x5f3760
lea ecx, [ebp + 0x150]
call fcn.00448340
mov esi, dword [ebp - 0x2c]
push esi
push 1
push 2
push 0x6aaff4
call fcn.00599289
cmp dword [ebp + 0x164], 8
lea eax, [ebp + 0x150]
push esi
push dword [ebp + 0x160]
cmovae eax, dword [ebp + 0x150]
push 2
push eax
call fcn.00599289
push esi
call fcn.005995d3
add esp, 0x24
lea ecx, [ebp + 0x150]
call fcn.00445c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.0056eeb4
lea esp, [ebp + 0x1b4]
pop ebp
ret
call fcn.00591dc6
int3