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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x566d27
sub esp, 0xd0
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 4], ecx
call fcn.00560dc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0xb8], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
jmp 0x56657e
mov ebp, dword [esp + 0x5c]
lea edx, [ebp + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
cmp edx, ebp
jge 0x5665b0
mov dword [esp + 0x5c], edx
mov eax, dword [edi + edx*4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00568c50
movzx eax, byte [esp + 8]
test al, al
je 0x5664c3
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
inc esi
mov edi, dword [esp + 0x2c]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xe8]
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jge 0x56677f
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + eax*4]
mov ebp, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
cmp edx, ebp
jae 0x566d20
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0xa0], ecx
xor edx, edx
jmp 0x5664e7
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
call fcn.00565670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5665fb
mov edx, dword [esp + 0xbc]
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
jmp 0x56652c
mov dword [esp + 0xb4], eax
mov dword [esp + 0x58], ecx
lea eax, [0x8210e0]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
lea edx, [ecx + 1]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00438a20
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
lea ebx, [0x8210e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x18], edi
call fcn.0040f890
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x566d19
mov edx, dword [0xb92b90]
mov ebx, dword [esp + 0x8c]
lea edi, [ebx + eax*4]
test edx, edx
jne 0x56676a
mov edx, dword [esp + 0xa0]
mov dword [ebx + eax*4], edx
mov edx, dword [esp + 0x68]
lea ebp, [edx + 1]
mov esi, dword [esp + 0x64]
cmp ebp, esi
jg 0x56671b
mov edi, dword [esp + 0xbc]
lea edx, [edx + edx*2]
mov dword [edi + edx*4 + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + edx*4 + 8], ecx
lea ecx, [edi + edx*4]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0xb92b90]
test ecx, ecx
jne 0x566703
mov dword [edi + edx*4], ebx
mov eax, ebp
mov ecx, esi
mov edx, edi
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x58]
jmp 0x56652c
mov ecx, edi
mov edi, dword [esp + 0xb0]
mov edx, eax
mov eax, ebx
call fcn.0044c990
mov eax, edx
mov edi, ecx
jmp 0x5666ed
lea eax, [0x78e9a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00438ba0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x8c]
jmp 0x5666c7
mov edx, eax
mov eax, dword [esp + 0xa0]
call fcn.0044c990
mov eax, edx
jmp 0x5666b1
mov eax, dword [esi + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
call fcn.00560dc0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x84], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xac], ebp
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
jmp 0x5668a6
mov eax, dword [esp + 0x5c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
cmp ebx, ebp
jge 0x5668db
mov dword [esp + 0x5c], ebx
mov eax, dword [edi + ebx*4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00568c50
movzx eax, byte [esp + 8]
test al, al
je 0x5667e7
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
inc esi
mov edi, dword [esp + 0x30]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0xe8]
mov eax, dword [esp + 0x6c]
cmp eax, edx
jge 0x566bfe
mov ecx, dword [esi + 8]
mov ebp, dword [ebx + eax*4]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
cmp ebp, ebx
jae 0x566d12
mov dword [esp + 0x44], ebp
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x9c], ecx
xor ebx, ebx
jmp 0x56680f
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
call fcn.00565670
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x566926
mov edx, dword [esp + 0xbc]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
jmp 0x566854
mov dword [esp + 0x54], eax
mov dword [esp + 0xa8], ecx
lea eax, [0x7b9040]
mov dword [esp], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.0040cc70
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x566a6a
mov ecx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x68]
lea edi, [esi + ebx]
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x64]
cmp edi, ecx
ja 0x566a07
cmp edi, ecx
ja 0x566d04
cmp esi, edi
ja 0x566d04
mov dword [esp + 0x68], ecx
lea ebp, [esi + esi*2]
sub ecx, esi
mov esi, ecx
neg ecx
shl ebp, 2
sar ecx, 0x1f
and ebp, ecx
mov ecx, dword [esp + 0xbc]
add ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea ebp, [0x78e9a0]
mov dword [esp], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0040f890
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
jmp 0x566854
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xa4], eax
lea eax, [0x78e9a0]
mov dword [esp], eax
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
call fcn.00438ba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xa4]
jmp 0x566994
lea eax, [0x8210e0]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
lea edx, [ecx + 1]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00438a20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x88], edx
lea ebx, [0x8210e0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x18], edi
call fcn.0040f890
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jae 0x566d0b
mov edx, dword [0xb92b90]
mov ebx, dword [esp + 0x88]
lea edi, [ebx + eax*4]
test edx, edx
jne 0x566beb
mov edx, dword [esp + 0x9c]
mov dword [ebx + eax*4], edx
mov dword [esp], edx
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x14], ecx
call fcn.00566410
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xb8], ebp
lea esi, [0x7b9040]
mov dword [esp], esi
mov edi, dword [esp + 0xd8]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 8], edi
call fcn.0040cdd0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x50]
mov dword [edi + 8], ecx
mov edx, dword [0xb92b90]
test edx, edx
jne 0x566bd2
mov edx, dword [esp + 0x98]
mov dword [edi], edx
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
jmp 0x566976
mov edx, eax
mov eax, dword [esp + 0x98]
call fcn.0044c990
mov eax, edx
mov edx, dword [esp + 0x98]
jmp 0x566bb7
mov eax, dword [esp + 0x9c]
call fcn.0044c990
mov edx, eax
jmp 0x566b15
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x566cf4
mov edx, 0
mov ebx, 0
jne 0x566c1a
test ebx, ebx
je 0x566c4f
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], edx
add esp, 0xd0
ret
mov edx, dword [esp + 0x48]
test edx, edx
je 0x566ce2
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ecx
lea eax, [0x8b3670]
mov dword [esp], eax
lea eax, [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.00407630
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
jmp 0x566c1a
mov ecx, ebp
mov ebx, dword [esp + 0xb4]
mov edx, dword [esp + 0x58]
jmp 0x566c69
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x60]
jmp 0x566c14
call fcn.004265e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.0044b230
jmp fcn.00566410