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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x566fce
sub esp, 0xe8
mov eax, dword [esp + 0xec]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
call fcn.0046dc30
mov eax, dword [esp + 0xec]
movzx ecx, byte [eax + 0x40]
test cl, cl
jne 0x566f2e
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xf4]
mov dword [esp], edx
call ecx
mov dword [esp], 0
call fcn.00406470
movzx eax, byte [esp + 8]
test al, al
jne 0x566ee4
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x20]
movzx esi, byte [esp + 0xf8]
xchg esi, eax
cmp al, 1
xchg esi, eax
jne 0x5666d3
lea edi, [ebx - 1]
test edi, edi
jl 0x5666d3
mov ebx, dword [ebp + ebx*4 - 4]
mov dword [esp + 0x58], ebx
mov dword [eax + 0x24], edi
mov byte [ebx + 0x30], 1
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call fcn.00563200
movzx eax, byte [esp + 0xc]
test al, al
jne 0x56666a
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 8], ecx
call fcn.005632d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [0x7d3720]
mov ebx, dword [0x7d3724]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0046c140
movzx eax, byte [esp + 0x10]
test al, al
je 0x566642
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00563870
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x104], eax
add esp, 0xe8
ret
mov eax, dword [esp + 0x58]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
add esp, 0xe8
ret
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x84]
add ecx, 1
adc edx, 0
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00563870
mov eax, dword [0x7d3720]
mov ecx, dword [0x7d3724]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
add esp, 0xe8
ret
mov ebx, dword [eax + 0x50]
test ebx, ebx
jle 0x566be8
cmp dword [eax + 0x38], ebx
jl 0x566be8
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
lea eax, [0x5e7b20]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00405030
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x2c], edx
mov ebx, ecx
add ecx, 1
mov ebp, edx
adc edx, 0
mov esi, dword [esp + 8]
mov dword [esp + 0x44], esi
nop
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [eax + 0x2c]
lea edx, [0x5f4120]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
call fcn.0040fbf0
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x566768
mov eax, dword [esp + 0x44]
mov dword [edi], eax
jmp 0x566771
mov eax, dword [esp + 0x44]
call fcn.00464380
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x6c]
add ecx, 1
adc edx, 0
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], edx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.0046e020
mov edx, dword [0x7ce144]
mov eax, dword [edx]
call eax
lea edi, [esp + 0xac]
lea esi, [esp]
call fcn.00464aae
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xf4]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
lea ecx, [esp + 0x90]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x9c]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00447fa0
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x1c]
test eax, eax
jne 0x566ab0
mov byte [esp + 0x23], cl
mov eax, dword [esp + 0x90]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x6c], edx
lea edi, [esp]
lea esi, [esp + 0xac]
call fcn.00464aae
call fcn.004896a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00469450
movzx eax, byte [esp + 0x23]
test al, al
je 0x566a84
movzx eax, byte [esp + 0xf8]
cmp al, 1
jne 0x56699d
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x5669a1
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00563200
movzx eax, byte [esp + 0xc]
test al, al
jne 0x566928
mov eax, dword [esp + 0x38]
jmp 0x5669a1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046dc30
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x84]
add ecx, 1
adc edx, 0
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00563870
mov eax, dword [0x7d3720]
mov ecx, dword [0x7d3724]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
add esp, 0xe8
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x566a60
mov dword [esp], ecx
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 8], eax
call fcn.005632d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [0x7d3720]
mov ebx, dword [0x7d3724]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0046c140
movzx eax, byte [esp + 0x10]
test al, al
je 0x566a38
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00563870
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x104], eax
add esp, 0xe8
ret
mov eax, dword [esp + 0x68]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x104], eax
add esp, 0xe8
ret
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x104], eax
add esp, 0xe8
ret
mov eax, dword [0x7d36f8]
mov ecx, dword [0x7d36fc]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
add esp, 0xe8
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046dc30
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x2c]
lea edx, [0x5f4120]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.0040ff00
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
lea edi, [esp]
lea esi, [esp + 0xac]
call fcn.00464aae
call fcn.004896a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00469450
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00406470
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 9]
test al, al
je 0x566baa
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
test cl, cl
je 0x566baa
test eax, eax
je 0x566baa
mov ecx, dword [esp + 0xec]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call fcn.00567200
mov eax, dword [esp + 0xf0]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xf4]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
add esp, 0xe8
ret
inc dword [eax + 0x38]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.0046e020
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 8], edx
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test eax, eax
je 0x566c8e
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046dc30
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x38]
lea edx, [ecx - 1]
mov dword [eax + 0x38], edx
nop
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x566c6a
mov edx, dword [edx]
jmp 0x566c6c
xor edx, edx
mov ebx, dword [eax + 0x50]
test ebx, ebx
jle 0x566c87
sub ebx, ecx
lea ecx, [ebx + 1]
cmp edx, ecx
jg 0x566f8b
mov ecx, edx
jmp 0x566f8b
mov ecx, edx
jmp 0x566f8b
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046dc30
mov edx, dword [0x7ce144]
mov eax, dword [edx]
call eax
lea edi, [esp + 0xd4]
lea esi, [esp]
call fcn.00464aae
mov edx, dword [0x7ce144]
mov eax, dword [edx]
call eax
lea edi, [esp + 0xc0]
lea esi, [esp]
call fcn.00464aae
lea eax, [0x60f240]
mov dword [esp], eax
call fcn.0040c1e0
mov edi, dword [esp + 4]
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x566cfb
mov ecx, dword [esp + 0xec]
mov dword [edi], ecx
jmp 0x566d09
mov eax, dword [esp + 0xec]
call fcn.00464380
mov ecx, eax
mov dword [esp + 0x54], edi
lea edx, [edi + 4]
mov ebx, dword [0x7f8db0]
test ebx, ebx
jne 0x566d2c
lea esi, [esp + 0xd4]
mov eax, edi
mov edi, edx
call fcn.00464aae
jmp 0x566d4d
lea eax, [0x617f40]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0xd4]
mov dword [esp + 8], eax
call fcn.004116d0
mov eax, dword [esp + 0x54]
lea edi, [eax + 0x34]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x566d68
lea esi, [esp + 0xc0]
call fcn.00464aae
jmp 0x566d89
lea eax, [0x617f40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xc0]
mov dword [esp + 8], eax
call fcn.004116d0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x566da3
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x24], ecx
jmp 0x566db3
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00464380
mov eax, ecx
mov byte [eax + 0x30], 1
lea ecx, [0x66e5ec]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea ecx, [0x610f20]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x566e17
call fcn.0040ccc0
mov eax, dword [0x7f8db0]
mov ecx, dword [esp]
test eax, eax
jne 0x566e02
mov eax, dword [esp + 0xec]
mov dword [eax + 0x44], ecx
jmp 0x566e15
mov edx, dword [esp + 0xec]
lea edi, [edx + 0x44]
mov eax, ecx
call fcn.00464380
mov eax, edx
mov ecx, eax
mov eax, dword [ecx + 0x44]
lea edx, [0x5f36e0]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.0040d090
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x566e8f
call fcn.0040ccc0
mov eax, dword [esp]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xec]
mov ecx, dword [ecx + 0x44]
lea edx, [0x5f36e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.0040d5e0
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x566e86
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x566e8f
mov eax, dword [esp + 0x60]
call fcn.00464380
lea ecx, [0x5f7640]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.0040d5e0
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
mov eax, dword [esp + 0x54]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
add esp, 0xe8
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
mov eax, dword [esp + 0xf0]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xf4]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
add esp, 0xe8
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
mov eax, dword [0x7d36f8]
mov ecx, dword [0x7d36fc]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
add esp, 0xe8
ret
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp], ecx
lea ecx, [esp + 0x23]
mov dword [esp + 4], ecx
call fcn.00405200
mov eax, dword [esp + 0x24]
lea ecx, [eax - 1]
mov eax, dword [esp + 0xec]
test ecx, ecx
jle 0x566f9a
inc dword [eax + 0x38]
movzx edx, byte [eax + 0x40]
test dl, dl
je 0x566f66
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046e020
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x104], eax
add esp, 0xe8
ret
call fcn.00462f70
jmp fcn.005664d0