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

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5664ef
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea edx, [0x566500]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], ecx
mov byte [esp + 0x23], 1
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x10
call fcn.005654b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x7c]
cmp eax, 5
jne 0x5661fc
mov ecx, dword [esp + 0x78]
cmp dword [ecx], 0x676e6172
jne 0x566200
cmp byte [ecx + 4], 0x65
jne 0x566200
mov edx, dword [esp + 0x70]
inc dword [edx + 0x84]
jmp 0x566204
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00564a60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
cmp eax, 5
jne 0x566244
mov eax, dword [esp + 0x78]
cmp dword [eax], 0x676e6172
jne 0x566244
cmp byte [eax + 4], 0x65
jne 0x566244
mov eax, dword [esp + 0x70]
dec dword [eax + 0x84]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
mov eax, dword [ecx + 0x1c]
mov dword [esp], edx
call eax
cmp dword [esp + 4], 6
jne 0x5664af
movzx eax, byte [esp + 0x74]
test al, al
je 0x56641c
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00563190
lea edi, [esp + 0x54]
lea esi, [esp + 4]
call fcn.004705fe
cmp dword [esp + 0x54], 0x1e
jne 0x56641c
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x6c]
nop
test ebx, ebx
jle 0x5662a2
dec ebx
mov dword [edx + 0x6c], ebx
jmp 0x5662fe
mov eax, dword [edx + 0x2c]
mov dword [esp], eax
call fcn.0055a590
lea edi, [esp + 0x54]
lea esi, [esp + 4]
call fcn.004705fe
mov eax, dword [0x78be40]
mov ecx, dword [esp + 0x70]
lea edi, [ecx + 0x30]
test eax, eax
je 0x5662f1
mov dword [esp + 0x3c], edi
lea eax, [0x5c7020]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00416300
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x3c]
lea esi, [esp + 0x54]
call fcn.004705fe
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x6c]
cmp eax, 3
jae 0x5664db
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
lea ecx, [0x5c9220]
mov dword [esp], ecx
call fcn.00410f90
mov eax, dword [0x78be40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x566344
mov eax, dword [esp + 0x70]
jmp 0x56634f
call fcn.0046fee0
mov eax, dword [esp + 0x70]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 0xb
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov dword [esp + 0x90], ecx
mov dword [esp], eax
call fcn.00566550
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
inc edx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [eax + 0xc]
cmp ecx, edx
jae 0x5663f2
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5c4740]
mov dword [esp + 0x10], eax
call fcn.004544e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov dword [ebx + 0x14], eax
mov eax, dword [0x78be40]
test eax, eax
je 0x5663e3
call fcn.0046fef0
mov dword [edi], ecx
mov eax, dword [ebx + 0xc]
mov dword [edi + 4], eax
mov dword [ebx + 0xc], ecx
mov eax, ebx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov esi, ecx
mov dword [eax + 0x10], edx
lea eax, [esi + edx*8 - 8]
mov dword [eax], ebx
mov eax, dword [0x78be40]
lea ecx, [esi + edx*8 - 4]
test eax, eax
je 0x566415
call fcn.0046fef0
mov dword [edi], ebp
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], ebp
jmp 0x5664af
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00564a60
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 7
je 0x5664af
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56646d
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea eax, [0x5e0c5c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x16
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00563500
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov ecx, 3
call fcn.0046ff60
nop
call fcn.0043d270
add esp, 0x6c
ret
call fcn.0046eae0
jmp fcn.00566110