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

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x56b1c9
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x6204cc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea edx, [0x5da14c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0xffffffff
call fcn.00486620
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
je 0x56b11e
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ebx
mov edx, dword [eax + 0x10]
mov ebx, dword [eax]
mov ebx, dword [ebx + 8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00563340
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x18]
nop
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea ecx, [0x6204cc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea ecx, [0x5da14c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0xffffffff
call fcn.00486620
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00470118
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x5e719b]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004f5490
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
mov edx, dword [edx]
mov ebx, dword [edx]
mov dword [esp + 0x34], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x24], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
call fcn.004f2900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea eax, [0x5c5f20]
mov dword [esp], eax
lea ecx, [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0040e660
mov eax, dword [esp + 8]
lea ecx, [0x5c5f20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0043d570
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.0040e820
mov eax, dword [esp + 8]
lea ecx, [0x5b1e40]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x5de0a7]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004f5490
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x56b06f
call fcn.0046eae0
jmp fcn.0056ae90