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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56b18b
sub esp, 0x64
mov eax, dword [0x6730f0]
test eax, eax
je 0x56acd2
mov ecx, dword [esp + 0x68]
cmp ecx, eax
jle 0x56acd2
mov edx, 1
jmp 0x56acf6
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
shl eax, 1
inc edx
mov ecx, ebx
mov ebx, ecx
sar ecx, 1
cmp eax, ecx
jge 0x56ad03
cmp edx, 0x40
jl 0x56acf1
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x6c]
cmp eax, 0xa
jne 0x56ad38
lea eax, [0x8dc840]
mov dword [esp], eax
call fcn.0045bff0
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x40
ja 0x56b180
lea eax, [0x8dc848]
mov edx, 0x40
jmp 0x56ad58
lea eax, [0x748e80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, ecx
lea ebx, [ecx - 1]
cmp ecx, ebx
jbe 0x56b179
mov dword [esp + 0x38], edx
mov dword [esp + 0x54], eax
lea ebx, [ecx + ecx*4]
mov ebx, dword [eax + ebx*4 - 4]
test ebx, ebx
jne 0x56ad7a
xor ebx, ebx
jmp 0x56adb1
mov ebx, dword [esp + 0x6c]
cmp ebx, 0xa
jne 0x56ad9d
lea eax, [0x8dc840]
mov dword [esp], eax
call fcn.0045c370
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x64
ret
inc ebx
cmp ebx, ecx
jge 0x56b014
cmp ebx, ecx
jae 0x56b172
lea ebp, [ebx + ebx*4]
mov esi, dword [eax + ebp*4 + 0x10]
test esi, esi
jne 0x56adb0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], ebp
test ebx, ebx
jne 0x56ae41
mov eax, dword [0x6730f0]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0056abc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x56ae2a
mov dword [edi], eax
jmp 0x56ae2f
call fcn.00456ac0
mov eax, dword [0x6730f0]
mov ecx, dword [esp + 0x70]
imul eax, ecx
mov dword [edi + 0x10], eax
jmp 0x56aeba
mov ecx, dword [eax + ebp*4 - 0x10]
mov edx, dword [eax + ebp*4 - 0xc]
mov ebx, dword [eax + ebp*4 - 0x14]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00565400
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
mov dword [ebp + ebx*4 + 4], ecx
mov dword [ebp + ebx*4 + 8], edx
lea edi, [ebp + ebx*4]
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x56aea5
mov dword [ebp + ebx*4], eax
jmp 0x56aeaa
call fcn.00456ac0
mov eax, dword [ebp + ebx*4 - 4]
shl eax, 1
mov dword [ebp + ebx*4 + 0x10], eax
mov ecx, dword [esp + 0x70]
mov edi, ebp
mov eax, dword [esp + 0x4c]
mov edx, dword [edi + eax*4 + 4]
mov ebx, dword [edi + eax*4]
lea ebp, [edi + eax*4]
mov dword [esp + 0x60], ebp
test edx, edx
jg 0x56aee5
xor esi, esi
xor esi, esi
mov dword [esp + 0x5c], esi
xor esi, esi
mov dword [esp + 0x48], esi
xor esi, esi
jmp 0x56af8f
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], ebx
cmp edx, 1
jne 0x56af44
lea eax, [0x734220]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
mov esi, 1
mov dword [esp + 0x5c], eax
mov ecx, 1
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
jmp 0x56af8f
lea eax, [0x734220]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
mov esi, edx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
cmp esi, edx
jg 0x56af95
mov edx, esi
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
je 0x56b028
mov dword [esp], ecx
mov dword [esp + 4], ebx
shl edx, 2
mov dword [esp + 8], edx
call fcn.00457450
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
jmp 0x56b028
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + eax*4]
mov ebx, dword [ecx + eax*4 + 4]
mov ebp, dword [ecx + eax*4 + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00565d20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [edx + ecx*4 + 0xc], eax
mov eax, edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
jmp 0x56adb0
mov ebx, dword [esp + 0x6c]
cmp ebx, 0xa
jmp 0x56ad81
inc dword [edx + ecx*4 + 0x10]
mov ecx, ebx
mov esi, ebp
mov dword [esp], ecx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
call fcn.0056d930
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x56afce
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + ecx*4 + 8]
mov ebp, dword [edx + ecx*4]
mov esi, dword [esp + 0x44]
cmp esi, ebx
jg 0x56b07f
mov eax, esi
jmp 0x56b0f1
cmp esi, 1
jne 0x56b0be
lea eax, [0x734220]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004426a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov esi, 1
mov ebx, 1
jmp 0x56b0f1
lea eax, [0x734220]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 8], ecx
call fcn.004426a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov esi, eax
mov ebx, dword [esp + 0x28]
cmp esi, eax
jle 0x56b0f9
mov edi, eax
jmp 0x56b0fd
mov edi, eax
mov eax, esi
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x5c]
cmp ebp, ebx
je 0x56b13c
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00457450
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [edx + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [edx + ecx*4 + 8], esi
mov esi, dword [0x901e80]
test esi, esi
jne 0x56b160
mov dword [edx + ecx*4], ebp
mov ebp, edi
mov edi, dword [esp + 0x60]
jmp 0x56b020
mov eax, ebp
mov ebp, edi
mov edi, dword [esp + 0x60]
call fcn.00456ac0
jmp 0x56b020
mov eax, ebx
call fcn.00456b40
mov eax, ebx
call fcn.00456b40
mov edx, 0x40
call fcn.00456b60
nop
call fcn.00455690
jmp fcn.0056aca0