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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x56f013
sub esp, 0x88
lea eax, [0x82a7c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404010
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp], 0x14
lea ecx, [0x8e7ae0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x18], ebp
call fcn.00433dd0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00452294
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov word [esp + 0x60], 1
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov word [esp + 0x78], 1
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.004394c0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x56ef3f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
test ecx, ecx
jne 0x56edff
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.0056d360
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x56ef1b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x88e200]
mov dword [esp], edx
call fcn.0040a800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0xc6be00]
test eax, eax
jne 0x56ef0d
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov ecx, dword [esp + 0x98]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xc6be00]
test ecx, ecx
jne 0x56eef4
mov eax, dword [esp + 0x94]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x28]
cmp dword [0xc57d38], eax
je 0x56eebd
mov edx, dword [esp + 0x24]
lea ecx, [0x96ebb0]
mov eax, edi
jmp 0x56ede3
mov dword [esp + 0x3c], edi
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [0xc57d3c]
mov dword [esp + 8], eax
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
je 0x56eeee
mov edi, dword [esp + 0x3c]
mov byte [edi + 0x1a], 1
jmp 0x56eeac
mov edi, dword [esp + 0x3c]
jmp 0x56eeac
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x94]
call fcn.00451ff0
mov edi, edx
jmp 0x56eea0
mov eax, dword [esp + 0x40]
call fcn.00451ff0
jmp 0x56ee82
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
cmp eax, 1
jne 0x56f012
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
cmp dword [0xc57828], ecx
je 0x56efd5
cmp dword [0xc4fef8], ecx
je 0x56ef9e
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0xc4fefc]
mov dword [esp + 8], edx
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
je 0x56efcb
mov ecx, dword [0xc4ff50]
mov eax, dword [0xc4ff54]
jmp 0x56ef7e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
jmp 0x56ef7e
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0xc5782c]
mov dword [esp + 8], edx
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
je 0x56f005
mov ecx, dword [0xc57d10]
mov eax, dword [0xc57d14]
jmp 0x56ef7e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
jmp 0x56ef76
nop
call fcn.004507b0
jmp fcn.0056ecb0