Function at 0x4540f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x280
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
mov eax, dword [ebp + 0x81c]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x28], edi
jne 0x45411b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x280
ret
cmp dword [ebp + 0x824], ebx
jne 0x454130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x280
ret
mov ecx, dword [ebp + 0x814]
cmp ecx, ebx
jne 0x454146
mov ecx, dword [ebp + 0x818]
mov dword [esp + 0x14], ecx
jmp 0x454152
xor edx, edx
mov dl, byte [ecx + 0x155]
mov dword [esp + 0x14], edx
cmp eax, ebx
mov dword [ebp + 0x7f8], ebx
je 0x454170
mov edx, dword [ebp + 0x7f8]
inc edx
mov dword [ebp + 0x7f8], edx
mov eax, dword [eax + 0x5c]
cmp eax, ebx
jne 0x45415c
mov eax, dword [ebp + 0x7f8]
cmp eax, ebx
jg 0x454187
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x280
ret
push 0x2e8
push eax
call fcn.005fab6a
add esp, 8
cmp eax, ebx
mov dword [ebp + 0x7fc], eax
jne 0x4541ac
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x280
ret
mov esi, dword [ebp + 0x81c]
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x4547d8
cmp edi, dword [ebp + 0x7f8]
jge 0x4547d8
mov eax, dword [ebp + 0x7fc]
mov dword [esp + 0x1c], 5
mov dword [ebx + eax], edi
mov ecx, dword [ebp + 0x7fc]
mov edx, dword [esi + 4]
mov dword [ebx + ecx + 4], edx
mov eax, dword [ebp + 0x7fc]
mov ecx, dword [esi + 8]
mov dword [ebx + eax + 8], ecx
mov edx, dword [ebp + 0x7fc]
mov eax, dword [esi + 0x10]
mov dword [ebx + edx + 0xc], eax
mov ecx, dword [ebp + 0x7fc]
mov edx, dword [esi + 0x20]
lea eax, [esi + 0x24]
mov dword [ebx + ecx + 0x2a4], edx
lea ecx, [ebx + 0x2a8]
mov edx, dword [ebp + 0x7fc]
mov edi, dword [eax]
add eax, 4
mov dword [ecx + edx], edi
mov edx, dword [esp + 0x1c]
add ecx, 4
dec edx
mov dword [esp + 0x1c], edx
jne 0x45421b
mov eax, dword [ebp + 0x7fc]
xor edx, edx
mov dword [ebx + eax + 0x2bc], edx
mov ecx, dword [ebp + 0x7fc]
mov eax, dword [esi + 0x14]
mov dword [ebx + ecx + 0x2a0], eax
mov ecx, dword [ebp + 0x7fc]
mov eax, dword [esi + 0x44]
mov dword [ebx + ecx + 0x2e4], eax
mov ecx, dword [ebp + 0x7fc]
or eax, 0xffffffff
mov dword [ebx + ecx + 0x2d8], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x2e0], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x2dc], eax
mov edi, dword [ebp + 0x7fc]
mov ecx, dword [esp + 0x28]
mov dword [ebx + edi + 0x10], ecx
mov edi, dword [ebp + 0x7fc]
mov dword [ebx + edi + 0x14], ecx
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 4]
mov dword [ebx + ecx + 0x18], edi
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 0x10]
mov dword [ebx + ecx + 0x204], edi
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 8]
mov dword [ebx + ecx + 0x208], edi
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 0x1c]
mov dword [ebx + ecx + 0x210], edi
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 0x14]
mov dword [ebx + ecx + 0x214], edi
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x218], 1
mov ecx, dword [ebp + 0x7fc]
mov byte [ebx + ecx + 0x21c], dl
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 0x38]
mov dword [ebx + ecx + 0x25c], edi
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 0x40]
mov dword [ebx + ecx + 0x268], edi
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x260], eax
mov ecx, dword [ebp + 0x7fc]
mov edi, dword [esi + 0x3c]
mov dword [ebx + ecx + 0x264], edi
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x26c], edx
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x270], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x274], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x278], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x27c], edx
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x294], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x290], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x298], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x29c], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x280], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x280], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x288], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x28c], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [ebx + ecx + 0x20], eax
mov eax, dword [ebp + 0x7fc]
mov byte [ebx + eax + 0x24], dl
mov ecx, dword [ebp + 0x7fc]
mov byte [ebx + ecx + 0x9c], dl
mov eax, dword [ebp + 0x7fc]
mov byte [ebx + eax + 0x114], dl
mov ecx, dword [ebp + 0x7fc]
mov byte [ebx + ecx + 0x18c], dl
mov eax, dword [ebp + 0x7fc]
add eax, ebx
mov ecx, dword [eax + 4]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp + 0x7fc]
mov ecx, dword [esi + 0x18]
mov dword [ebx + eax + 0x20c], ecx
mov eax, dword [ebp + 0x7fc]
add eax, ebx
mov ecx, dword [eax + 0x18]
cmp ecx, edx
jl 0x4547a3
mov edx, dword [0x6633d4]
mov edi, dword [esp + 0x14]
mov edx, dword [edx + 0x420]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x20], edx
movsx edx, word [edx + 0x18]
cmp ecx, edx
jge 0x4547a3
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x4547a3
movsx edx, word [ecx + 0x1c2]
movsx ecx, word [ecx + 0x54]
add edx, ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x9b
jne 0x454512
mov dword [eax + 0x20], 0x2e
mov eax, dword [ebp + 0x814]
test eax, eax
je 0x4545e7
mov ecx, dword [ebp + 0x818]
xor edx, edx
mov dl, byte [eax + 0x155]
cmp edx, ecx
jne 0x4545e7
mov eax, dword [eax + 0x102c]
push 0xc2
mov ecx, eax
call fcn.005912ac
cmp ax, 3
jne 0x4545e7
mov eax, dword [ebp + 0x7fc]
mov dword [ebx + eax + 0x20c], 5
jmp 0x4545e7
mov ecx, dword [eax + 4]
cmp ecx, 0xea
jne 0x454577
mov dword [eax + 0x20], 0x4c
mov eax, dword [ebp + 0x814]
test eax, eax
je 0x4545e7
mov edx, dword [ebp + 0x818]
xor ecx, ecx
mov cl, byte [eax + 0x155]
cmp ecx, edx
jne 0x4545e7
mov eax, dword [eax + 0x102c]
push 0x8c
mov ecx, eax
call fcn.005912ac
cmp ax, 3
jne 0x4545e7
mov edx, dword [ebp + 0x7fc]
mov dword [ebx + edx + 0x20c], 5
jmp 0x4545e7
cmp ecx, 0xeb
jne 0x4545ac
mov dword [eax + 0x20], 0x10
mov eax, dword [ebp + 0x814]
test eax, eax
je 0x4545e7
mov edx, dword [ebp + 0x818]
xor ecx, ecx
mov cl, byte [eax + 0x155]
cmp ecx, edx
jne 0x4545e7
mov eax, dword [eax + 0x102c]
push 0x3f
jmp 0x454553
cmp ecx, 0xec
jne 0x4545e4
mov dword [eax + 0x20], 0x2a
mov eax, dword [ebp + 0x814]
test eax, eax
je 0x4545e7
mov edx, dword [ebp + 0x818]
xor ecx, ecx
mov cl, byte [eax + 0x155]
cmp ecx, edx
jne 0x4545e7
mov eax, dword [eax + 0x102c]
push 0x40
jmp 0x454553
mov dword [eax + 0x20], edx
mov ecx, dword [0x6633d4]
mov eax, dword [ebp + 0x7fc]
add eax, ebx
mov edx, dword [ecx + 0x420]
mov ecx, dword [edx + 0x54]
mov edx, dword [ecx + edi*4]
mov ecx, dword [eax + 0x18]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
movsx edx, word [ecx + 0xc]
mov dword [eax + 0x280], edx
mov ecx, dword [0x6633d4]
mov eax, dword [ebp + 0x7fc]
mov edx, dword [ecx + 0x420]
add eax, ebx
mov ecx, dword [edx + 0x54]
mov edx, dword [ecx + edi*4]
mov ecx, dword [eax + 0x18]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
movsx edx, word [ecx + 0xe]
mov dword [eax + 0x284], edx
mov ecx, dword [0x6633d4]
mov eax, dword [ebp + 0x7fc]
mov edx, dword [ecx + 0x420]
add eax, ebx
mov ecx, dword [edx + 0x54]
mov edx, dword [ecx + edi*4]
mov ecx, dword [eax + 0x18]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 0xa4]
mov dword [eax + 0x288], edx
mov ecx, dword [0x6633d4]
mov eax, dword [ebp + 0x7fc]
mov edx, dword [ecx + 0x420]
add eax, ebx
mov ecx, dword [edx + 0x54]
mov edx, dword [ecx + edi*4]
mov ecx, dword [eax + 0x18]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 0xa8]
mov dword [eax + 0x28c], edx
mov eax, dword [ebp + 0x7fc]
add eax, ebx
mov edx, dword [eax + 0x280]
test edx, edx
jle 0x4546c3
mov ecx, dword [0x6633d4]
add eax, 0x24
push 0x78
push eax
mov edi, dword [ecx]
push edx
call dword [edi + 0x28]
mov ecx, dword [ebp + 0x7fc]
lea eax, [ebx + ecx]
mov cl, byte [eax + 0x24]
test cl, cl
lea edx, [eax + 0x24]
jne 0x454719
mov ecx, dword [0x6633d4]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
mov ecx, dword [ecx + 0x420]
mov ecx, dword [ecx + 0x54]
mov ecx, dword [ecx + esi*4]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx + eax*4]
or ecx, 0xffffffff
mov edi, dword [eax + 8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x7fc]
mov edx, dword [ebx + ecx + 0x280]
lea eax, [ebx + ecx]
test edx, edx
jle 0x454747
mov ecx, dword [0x6633d4]
add eax, 0x9c
push 0x78
add edx, 0x2328
mov edi, dword [ecx]
push eax
push edx
call dword [edi + 0x28]
mov edx, dword [ebp + 0x7fc]
lea eax, [ebx + edx]
mov cl, byte [eax + 0x9c]
lea edx, [eax + 0x9c]
test cl, cl
jne 0x4547a3
mov ecx, dword [0x6633d4]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
mov ecx, dword [ecx + 0x420]
mov ecx, dword [ecx + 0x54]
mov ecx, dword [ecx + esi*4]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx + eax*4]
or ecx, 0xffffffff
mov edi, dword [eax + 8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
xor eax, eax
lea edx, [esi + 0x48]
mov ecx, dword [edx]
test ecx, ecx
je 0x4547be
inc eax
add edx, 4
cmp eax, 5
mov dword [ecx + 8], edi
jl 0x4547ac
mov esi, dword [esi + 0x5c]
inc edi
add ebx, 0x2e8
mov dword [esp + 0x28], edi
test esi, esi
mov dword [esp + 0x10], esi
jne 0x4541be
mov eax, dword [ebp + 0x824]
mov dword [ebp + 0x800], 0
test eax, eax
je 0x454803
mov edx, dword [ebp + 0x800]
inc edx
mov dword [ebp + 0x800], edx
mov eax, dword [eax + 0x534]
test eax, eax
jne 0x4547ec
mov eax, dword [ebp + 0x800]
test eax, eax
jg 0x45481a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x280
ret
push 0x405c
push eax
call fcn.005fab6a
add esp, 8
mov dword [ebp + 0x804], eax
test eax, eax
jne 0x45483d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x280
ret
mov ecx, dword [ebp + 0x824]
xor edx, edx
test ecx, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], ecx
je 0x455120
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x454869
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x800]
jge 0x455120
mov esi, dword [ebp + 0x804]
mov dword [eax + esi], edx
mov edx, dword [ebp + 0x804]
mov esi, dword [ecx + 8]
mov dword [eax + edx + 4], esi
mov edx, dword [ebp + 0x804]
xor esi, esi
mov dword [eax + edx + 8], esi
mov edx, dword [ebp + 0x804]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x2c], esi
mov dword [eax + edx + 0xc], edi
mov edx, dword [ebp + 0x804]
mov edi, dword [ecx + 0x10]
lea esi, [ecx + 0x18]
mov dword [eax + edx + 0x10], edi
mov edx, dword [ebp + 0x804]
mov edi, dword [ecx + 0x14]
mov dword [eax + edx + 0x14], edi
mov edx, dword [ebp + 0x804]
mov edi, dword [ecx + 0x52c]
mov dword [eax + edx + 0x4034], edi
mov edi, dword [ebp + 0x804]
or edx, 0xffffffff
mov dword [eax + edi + 0x4050], edx
mov edi, dword [ebp + 0x804]
mov dword [eax + edi + 0x4054], edx
mov edi, dword [ebp + 0x804]
mov dword [eax + edi + 0x4058], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], esi
lea ebx, [ecx + eax]
mov dword [esp + 0x20], 5
mov eax, dword [esi + 0xc8]
or edi, 0xffffffff
cmp eax, 4
mov dword [esp + 0x18], edi
jne 0x454955
mov edx, dword [esi]
mov ecx, dword [ebp + 0x80c]
push edx
call fcn.00596370
test eax, eax
je 0x45497f
mov ecx, dword [ebp + 0x80c]
mov edi, dword [eax + 0x80]
push eax
call fcn.00596400
jmp 0x45497b
cmp eax, 3
jne 0x45497f
mov eax, dword [esi]
mov ecx, dword [ebp + 0x80c]
push eax
call fcn.00596320
test eax, eax
je 0x45497f
mov ecx, dword [ebp + 0x80c]
mov edi, dword [eax + 0x78]
push eax
call fcn.005963c0
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x804]
mov edx, dword [esp + 0x30]
mov dword [ebx + ecx + 0x24], edx
mov eax, dword [ebp + 0x804]
mov ecx, dword [esp + 0x28]
mov dword [ebx + eax + 0x28], ecx
mov edx, dword [ebp + 0x804]
mov eax, dword [esi]
mov dword [ebx + edx + 0x2c], eax
mov ecx, dword [ebp + 0x804]
mov eax, dword [esp + 0x18]
mov dword [ebx + ecx + 0x218], edi
mov edx, dword [ebp + 0x804]
mov dword [ebx + edx + 0x21c], eax
mov ecx, dword [ebp + 0x804]
mov edx, dword [esi + 0x64]
mov dword [ebx + ecx + 0x220], edx
mov eax, dword [esi]
mov ecx, 5
cmp eax, ecx
jne 0x454a30
cmp dword [ebp + 0x818], 4
jne 0x454a30
mov eax, dword [ebp + 0x814]
test eax, eax
je 0x454a23
cmp byte [eax + 0x155], 4
jne 0x454a14
cmp dword [esi + 0x64], ecx
je 0x454a30
mov eax, dword [ebp + 0x804]
mov dword [ebx + eax + 0x220], 2
jmp 0x454a30
mov edx, dword [ebp + 0x804]
mov dword [ebx + edx + 0x220], ecx
jmp 0x454a30
mov eax, dword [ebp + 0x804]
mov dword [ebx + eax + 0x220], ecx
mov ecx, dword [0x6633d4]
test ecx, ecx
je 0x454a65
cmp dword [esi + 0xc8], 4
jne 0x454a65
cmp dword [esi], 0x198
jne 0x454a65
call fcn.005bc3f0
cmp al, 1
jne 0x454a65
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x220], 3
mov edx, dword [ebp + 0x804]
mov eax, dword [esi + 0xc8]
mov dword [ebx + edx + 0x228], eax
mov ecx, dword [ebp + 0x804]
mov edx, dword [esi + 0x1f4]
mov dword [ebx + ecx + 0x224], edx
mov eax, dword [ebp + 0x804]
mov dword [ebx + eax + 0x22c], 2
mov ecx, dword [ebp + 0x804]
mov edx, dword [esi + 0x190]
mov dword [ebx + ecx + 0x28c], edx
mov eax, dword [ebp + 0x804]
mov ecx, dword [esi + 0x320]
mov dword [ebx + eax + 0x278], ecx
mov edx, dword [ebp + 0x804]
mov eax, dword [esi + 0x384]
mov dword [ebx + edx + 0x274], eax
mov ecx, dword [ebp + 0x804]
mov edx, dword [esi + 0x2bc]
mov dword [ebx + ecx + 0x27c], edx
mov eax, dword [ebp + 0x804]
mov ecx, dword [esi + 0x258]
mov dword [ebx + eax + 0x270], ecx
mov edx, dword [ebp + 0x804]
mov dword [ebx + edx + 0x290], 0
mov eax, dword [ebp + 0x804]
mov ecx, dword [esi + 0x3e8]
mov dword [ebx + eax + 0x280], ecx
mov edx, dword [ebp + 0x804]
mov eax, dword [esi + 0x44c]
mov dword [ebx + edx + 0x284], eax
mov ecx, dword [ebp + 0x804]
mov edx, dword [esi + 0x4b0]
or eax, 0xffffffff
mov dword [ebx + ecx + 0x288], edx
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x2a8], eax
mov edx, dword [ebp + 0x804]
mov dword [ebx + edx + 0x2a4], eax
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x2ac], eax
mov edx, dword [ebp + 0x804]
mov dword [ebx + edx + 0x2b0], eax
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x294], eax
mov edx, dword [ebp + 0x804]
mov dword [ebx + edx + 0x294], eax
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x29c], eax
mov edx, dword [ebp + 0x804]
mov dword [ebx + edx + 0x2a0], eax
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x34], eax
mov edx, dword [ebp + 0x804]
mov byte [ebx + edx + 0x38], 0
mov eax, dword [ebp + 0x804]
mov byte [ebx + eax + 0xb0], 0
mov ecx, dword [ebp + 0x804]
mov byte [ebx + ecx + 0x128], 0
mov edx, dword [ebp + 0x804]
mov ecx, dword [esp + 0x24]
mov byte [ebx + edx + 0x1a0], 0
mov eax, dword [ebp + 0x804]
mov edx, dword [ecx + eax + 0xc]
mov dword [ebx + eax + 0x30], edx
mov eax, dword [ebp + 0x804]
mov ecx, dword [ebx + eax + 0x228]
cmp ecx, 3
jne 0x454e6a
mov ecx, dword [ebx + eax + 0x2c]
test ecx, ecx
jl 0x4550a8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
add ecx, edx
mov edx, dword [0x6633d4]
add eax, ecx
mov edx, dword [edx + 0x420]
mov ecx, dword [eax + 0x2c]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + edi*4]
movsx edi, word [edx + 0x18]
cmp ecx, edi
jge 0x4550a8
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x4550a8
movsx ecx, word [ecx + 0x54]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 0x804]
lea edx, [ecx + eax]
add edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [0x6633d4]
mov edx, dword [edx + 0x420]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
mov edi, dword [edi + 0x2c]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
movsx edx, word [edx + 0xc]
mov dword [edi + 0x294], edx
mov edi, dword [ebp + 0x804]
lea edx, [ecx + eax]
add edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [0x6633d4]
mov edx, dword [edx + 0x420]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
mov edi, dword [edi + 0x2c]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
movsx edx, word [edx + 0xe]
mov dword [edi + 0x298], edx
mov edi, dword [ebp + 0x804]
lea edx, [ecx + eax]
add ecx, eax
add edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [0x6633d4]
mov edx, dword [edx + 0x420]
mov edx, dword [edx + 0x54]
mov edx, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
mov edi, dword [edi + 0x2c]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
mov edx, dword [edx + 0xa4]
mov dword [edi + 0x29c], edx
mov eax, dword [ebp + 0x804]
add eax, ecx
mov ecx, dword [0x6633d4]
mov edx, dword [ecx + 0x420]
mov ecx, dword [edx + 0x54]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0xa8]
mov dword [eax + 0x2a0], ecx
mov edx, dword [ebp + 0x804]
lea eax, [ebx + edx]
mov edx, dword [ebx + edx + 0x294]
test edx, edx
jle 0x454d8e
mov ecx, dword [0x6633d4]
add eax, 0x38
push 0x78
push eax
mov edi, dword [ecx]
push edx
call dword [edi + 0x28]
mov eax, dword [ebp + 0x804]
mov cl, byte [ebx + eax + 0x38]
test cl, cl
jne 0x454dee
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
add ecx, edx
add eax, ecx
mov ecx, dword [0x6633d4]
mov edx, dword [ecx + 0x420]
mov ecx, dword [edx + 0x54]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx + edx*4]
lea edx, [eax + 0x38]
xor eax, eax
mov edi, dword [ecx + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
mov ecx, dword [ebp + 0x804]
mov edx, dword [ebx + ecx + 0x294]
lea eax, [ebx + ecx]
test edx, edx
jle 0x454e1c
mov ecx, dword [0x6633d4]
add eax, 0xb0
push 0x78
add edx, 0x2328
mov edi, dword [ecx]
push eax
push edx
call dword [edi + 0x28]
mov eax, dword [ebp + 0x804]
mov cl, byte [ebx + eax + 0xb0]
test cl, cl
jne 0x4550a8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add edx, ecx
add eax, edx
mov edx, dword [0x6633d4]
mov ecx, dword [edx + 0x420]
mov edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
lea edx, [eax + 0xb0]
mov edi, dword [ecx + 8]
jmp 0x455087
cmp ecx, 4
jne 0x4550a8
mov ecx, dword [0x6633d4]
lea eax, [ebx + eax + 0x2c]
mov edx, dword [ecx + 0x420]
mov edi, dword [edx + 0x1f4]
mov dword [esp + 0x18], edi
mov ecx, dword [edi]
mov byte [esp + 0x90], 0
mov dword [esp + 0x38], ecx
mov ecx, dword [eax]
test ecx, ecx
jl 0x4550a8
movsx edx, word [edi + 4]
cmp ecx, edx
jge 0x4550a8
mov ax, cx
mov ecx, edi
push eax
call fcn.00590e7a
mov edx, dword [ebp + 0x804]
movsx ecx, ax
mov dword [ebx + edx + 0x294], ecx
mov eax, dword [ebp + 0x804]
mov cx, word [ebx + eax + 0x2c]
push ecx
mov ecx, edi
call fcn.00590e7a
movsx edx, ax
mov eax, dword [ebp + 0x804]
mov dword [ebx + eax + 0x298], edx
mov ecx, dword [ebp + 0x804]
mov dx, word [ebx + ecx + 0x2c]
mov ecx, edi
push edx
call fcn.00590d5b
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x29c], eax
mov edx, dword [ebp + 0x804]
mov ecx, edi
mov ax, word [ebx + edx + 0x2c]
push eax
call fcn.00590d94
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x2a0], eax
mov edx, dword [ebp + 0x804]
mov ecx, dword [ebx + edx + 0x2c]
lea eax, [ebx + edx]
mov edx, ecx
shl edx, 4
add edx, ecx
mov ecx, dword [esp + 0x38]
movsx edx, word [ecx + edx*4 + 0x2c]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 0x804]
mov byte [esp + 0x90], 0
mov eax, dword [ebx + eax + 0x294]
test eax, eax
jle 0x454f92
mov ecx, dword [0x6633d4]
push 0x200
mov edx, dword [ecx]
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [0x6633d4]
push eax
call dword [edx + 0x28]
mov al, byte [esp + 0x90]
test al, al
jne 0x454fb0
mov edx, dword [ebp + 0x804]
mov ecx, edi
mov ax, word [ebx + edx + 0x2c]
push eax
call fcn.00590e40
mov cl, byte [esp + 0x90]
test cl, cl
je 0x454fc3
mov ecx, dword [ebp + 0x804]
lea edi, [esp + 0x90]
lea edx, [ebx + ecx + 0x38]
jmp 0x454fd3
test eax, eax
je 0x454ff8
mov ecx, dword [ebp + 0x804]
mov edi, eax
lea edx, [ebx + ecx + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x804]
mov byte [esp + 0x90], 0
mov eax, dword [ebx + ecx + 0x294]
test eax, eax
jle 0x455040
mov edx, dword [0x6633d4]
lea ecx, [esp + 0x90]
push 0x200
add eax, 0x2710
mov edx, dword [edx]
push ecx
mov ecx, dword [0x6633d4]
push eax
call dword [edx + 0x28]
mov al, byte [esp + 0x90]
test al, al
jne 0x45505e
mov edx, dword [ebp + 0x804]
mov ecx, edi
mov ax, word [ebx + edx + 0x2c]
push eax
call fcn.00590e40
mov cl, byte [esp + 0x90]
test cl, cl
je 0x455074
mov ecx, dword [ebp + 0x804]
lea edi, [esp + 0x90]
lea edx, [ebx + ecx + 0xb0]
jmp 0x455087
test eax, eax
je 0x4550a8
mov ecx, dword [ebp + 0x804]
mov edi, eax
lea edx, [ebx + ecx + 0xb0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
inc eax
add esi, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
add edx, 0x290
add ebx, 0x290
dec eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x45491d
mov eax, dword [esp + 0x2c]
add eax, 0xcd0
cmp eax, 0x4010
mov dword [esp + 0x2c], eax
jl 0x454902
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
inc esi
mov eax, dword [ecx + 0x534]
add edx, 0x405c
test eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
jne 0x45485d
mov eax, dword [ebp + 0x800]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x30], ebx
jle 0x45552e
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
xor edi, edi
lea eax, [ebx + 0x25c]
mov esi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], 5
mov edx, dword [ebp + 0x804]
mov eax, dword [ebx + edx + 0x2c]
lea ecx, [ebx + edx]
test eax, eax
jl 0x4554bc
mov ecx, dword [ecx + 0x228]
cmp ecx, 4
jne 0x4552e2
mov ecx, dword [ebp + 0x80c]
push eax
call fcn.00596370
mov ecx, dword [ebp + 0x80c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00596680
cmp eax, 1
jne 0x4554bc
mov ecx, dword [ebp + 0x804]
mov dl, byte [esp + 0x3c]
mov byte [ebx + ecx + 0x230], dl
mov al, byte [esp + 0x3c]
xor ebx, ebx
test al, al
jbe 0x4554bc
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x804]
mov edx, dword [eax]
mov dword [esi + ecx - 0x28], edx
mov ecx, dword [ebp + 0x804]
mov dword [esi + ecx], 0
mov eax, dword [eax + 0x28]
dec eax
je 0x45528a
dec eax
je 0x455256
dec eax
je 0x455222
push 0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00459dc0
mov edx, dword [ebp + 0x804]
mov dword [esi + edx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x804]
add eax, edi
add eax, ebx
mov dword [ecx + eax*4 + 0x248], 0
jmp 0x4552bc
mov edx, dword [esp + 0x10]
push 4
mov ecx, ebp
mov eax, dword [edx]
push eax
call fcn.00459dc0
mov ecx, dword [ebp + 0x804]
mov edx, dword [esp + 0x14]
add edx, edi
mov dword [esi + ecx], eax
mov eax, dword [ebp + 0x804]
add edx, ebx
mov dword [eax + edx*4 + 0x248], 4
jmp 0x4552bc
mov ecx, dword [esp + 0x10]
push 3
mov edx, dword [ecx]
mov ecx, ebp
push edx
call fcn.00459dc0
mov ecx, dword [ebp + 0x804]
mov edx, dword [esp + 0x14]
add edx, edi
mov dword [esi + ecx], eax
mov eax, dword [ebp + 0x804]
add edx, ebx
mov dword [eax + edx*4 + 0x248], 3
jmp 0x4552bc
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx]
mov ecx, ebp
push edx
call fcn.00459dc0
mov ecx, dword [ebp + 0x804]
mov edx, dword [esp + 0x14]
add edx, edi
mov dword [esi + ecx], eax
mov eax, dword [ebp + 0x804]
add edx, ebx
mov dword [eax + edx*4 + 0x248], 1
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc ebx
and ecx, 0xff
add eax, 4
add esi, 4
cmp ebx, ecx
mov dword [esp + 0x10], eax
jl 0x4551c7
jmp 0x4554bc
cmp ecx, 3
jne 0x4554bc
mov ecx, dword [ebp + 0x80c]
push eax
call fcn.00596320
mov ecx, dword [ebp + 0x80c]
mov esi, eax
lea edx, [esp + 0x3c]
push esi
push edx
call fcn.00596500
cmp eax, 1
jne 0x45545a
mov eax, dword [ebp + 0x804]
mov edx, dword [esp + 0x1c]
mov cl, byte [esp + 0x3c]
xor ebx, ebx
mov byte [edx + eax + 0x230], cl
mov al, byte [esp + 0x3c]
test al, al
jbe 0x4554bc
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x804]
mov edx, dword [eax]
mov dword [esi + ecx - 0x28], edx
mov ecx, dword [ebp + 0x804]
mov dword [esi + ecx], 0
mov eax, dword [eax + 0x28]
dec eax
je 0x455405
dec eax
je 0x4553d1
dec eax
je 0x45539d
push 0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00459dc0
mov edx, dword [ebp + 0x804]
mov dword [esi + edx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x804]
add eax, edi
add eax, ebx
mov dword [ecx + eax*4 + 0x248], 0
jmp 0x455437
mov edx, dword [esp + 0x10]
push 4
mov ecx, ebp
mov eax, dword [edx]
push eax
call fcn.00459dc0
mov ecx, dword [ebp + 0x804]
mov edx, dword [esp + 0x14]
add edx, edi
mov dword [esi + ecx], eax
mov eax, dword [ebp + 0x804]
add edx, ebx
mov dword [eax + edx*4 + 0x248], 4
jmp 0x455437
mov ecx, dword [esp + 0x10]
push 3
mov edx, dword [ecx]
mov ecx, ebp
push edx
call fcn.00459dc0
mov ecx, dword [ebp + 0x804]
mov edx, dword [esp + 0x14]
add edx, edi
mov dword [esi + ecx], eax
mov eax, dword [ebp + 0x804]
add edx, ebx
mov dword [eax + edx*4 + 0x248], 3
jmp 0x455437
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx]
mov ecx, ebp
push edx
call fcn.00459dc0
mov ecx, dword [ebp + 0x804]
mov edx, dword [esp + 0x14]
add edx, edi
mov dword [esi + ecx], eax
mov eax, dword [ebp + 0x804]
add edx, ebx
mov dword [eax + edx*4 + 0x248], 1
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc ebx
and ecx, 0xff
add eax, 4
add esi, 4
cmp ebx, ecx
mov dword [esp + 0x10], eax
jl 0x455342
jmp 0x4554bc
mov esi, dword [esi]
cmp esi, 0x218
je 0x455474
cmp esi, 0x210
je 0x455474
cmp esi, 0x214
jne 0x4554bc
mov edx, dword [ebp + 0x804]
push 3
push 0x15
mov ecx, ebp
mov dword [ebx + edx + 0x234], 0x15
mov eax, dword [ebp + 0x804]
mov dword [ebx + eax + 0x248], 3
call fcn.00459dc0
mov ecx, dword [ebp + 0x804]
mov dword [ebx + ecx + 0x25c], eax
mov edx, dword [ebp + 0x804]
mov byte [ebx + edx + 0x230], 1
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add edi, 0xa4
add ebx, 0x290
add esi, 0x290
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
jne 0x455156
cmp edi, 0x1004
mov eax, esi
jl 0x455144
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x800]
inc eax
add ebx, 0x405c
add edx, 0x1017
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], edx
jl 0x45513c
mov eax, dword [ebp + 0x7f8]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x20], esi
jle 0x4556ae
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 0x8d
mov eax, dword [ebp + 0x7fc]
lea ecx, [esi + eax]
mov eax, dword [esi + eax + 0x18]
test eax, eax
jl 0x45567b
cmp dword [ecx + 0x214], 1
jne 0x45567b
mov ecx, dword [ebp + 0x80c]
push eax
call fcn.005962d0
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [ebp + 0x80c]
call fcn.005967f0
cmp eax, 1
jne 0x45567b
mov edx, dword [ebp + 0x7fc]
mov al, byte [esp + 0x3c]
xor ebx, ebx
mov byte [esi + edx + 0x21c], al
mov al, byte [esp + 0x3c]
test al, al
jbe 0x45567b
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x40]
lea esi, [ecx + 0x248]
mov edx, dword [ebp + 0x7fc]
mov eax, dword [edi]
mov dword [esi + edx - 0x28], eax
mov ecx, dword [ebp + 0x7fc]
mov dword [esi + ecx], 0
mov eax, dword [edi + 0x28]
sub eax, 2
je 0x45563a
dec eax
je 0x455610
push 0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00459dc0
mov edx, dword [ebp + 0x7fc]
mov dword [esi + edx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x7fc]
add eax, ebx
mov dword [ecx + eax*4], 0
jmp 0x455662
mov edx, dword [edi]
push 4
push edx
mov ecx, ebp
call fcn.00459dc0
mov ecx, dword [ebp + 0x7fc]
mov edx, dword [esp + 0x10]
add edx, ebx
mov dword [esi + ecx], eax
mov eax, dword [ebp + 0x7fc]
mov dword [eax + edx*4], 4
jmp 0x455662
mov ecx, dword [edi]
push 3
push ecx
mov ecx, ebp
call fcn.00459dc0
mov edx, dword [ebp + 0x7fc]
mov dword [esi + edx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x7fc]
add eax, ebx
mov dword [ecx + eax*4], 3
mov edx, dword [esp + 0x3c]
inc ebx
and edx, 0xff
add edi, 4
add esi, 4
cmp ebx, edx
jl 0x4555c3
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x7f8]
inc eax
add esi, 0x2e8
add edx, 0xba
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
jl 0x45554e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x280
ret