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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x56b448
sub esp, 0x128
mov esi, dword [esp + 0x12c]
test byte [esi], al
lea edi, [esp + 0xf0]
call fcn.00466474
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
xor edx, edx
xor ebx, ebx
jmp 0x56b051
inc edx
mov ebx, eax
mov eax, esi
cmp edx, ecx
jge 0x56b093
lea ebp, [eax + edx*8]
mov esi, eax
mov eax, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
nop
movzx eax, byte [esp + 0x3d]
movzx ebp, byte [esp + 0x3c]
shl ebp, 8
or eax, ebp
cmp ax, 0xffff
je 0x56b08f
cmp bx, ax
jb 0x56b04c
mov eax, ebx
jmp 0x56b04c
mov esi, dword [esp + 0x12c]
mov eax, dword [esi + 0x2c]
mov ecx, eax
and eax, 0xffffff
mov edx, dword [esp + 0x134]
cmp edx, eax
jl 0x56b3a2
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0xb8]
call fcn.00466474
movzx ecx, bx
inc ecx
mov ebx, dword [esp + 0xe4]
and ebx, 0xc0000000
shr ebx, 0x1e
test bl, bl
je 0x56b2e3
cmp bl, 1
je 0x56b234
cmp bl, 2
jne 0x56b1a0
mov ebx, dword [esp + 0x138]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
mov esi, dword [esp + 0x2c]
and esi, ebx
and esi, 0xffffff
mov ebx, dword [esp + 0x130]
add ebx, esi
mov dword [esp], ebx
sub edx, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.005685f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004098b0
mov eax, dword [esp + 0xc]
lea ecx, [0x785c78]
mov edx, dword [esp + 0x12c]
mov dword [edx + 0x30], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x56b18b
mov dword [edx + 0x34], eax
jmp 0x56b193
lea edi, [edx + 0x34]
call fcn.00465d80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
jmp 0x56b38d
lea edi, [esp + 0x80]
mov esi, dword [esp + 0x12c]
call fcn.00466474
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x69be80]
mov dword [esp + 0x44], ecx
and eax, 0xc0000000
shr eax, 0x1e
lea ecx, [0x934160]
lea eax, [ecx + eax*8]
mov dword [esp + 0x48], eax
lea eax, [0x6fbbcb]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
add esp, 0x128
ret
mov ebx, dword [esp + 0x138]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
mov esi, dword [esp + 0x2c]
and esi, ebx
and esi, 0xffffff
mov ebx, dword [esp + 0x130]
add ebx, esi
mov dword [esp], ebx
sub edx, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.00568210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004098b0
mov eax, dword [esp + 0xc]
lea ecx, [0x785c50]
mov edx, dword [esp + 0x12c]
mov dword [edx + 0x30], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x56b2ce
mov dword [edx + 0x34], eax
jmp 0x56b2d6
lea edi, [edx + 0x34]
call fcn.00465d80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
jmp 0x56b38d
mov ebx, dword [esp + 0x138]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
mov esi, dword [esp + 0x2c]
and esi, ebx
and esi, 0xffffff
mov ebx, dword [esp + 0x130]
add ebx, esi
mov dword [esp], ebx
sub edx, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.00568400
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004098b0
mov eax, dword [esp + 0xc]
lea ecx, [0x785c64]
mov edx, dword [esp + 0x12c]
mov dword [edx + 0x30], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x56b37d
mov dword [edx + 0x34], eax
jmp 0x56b385
lea edi, [edx + 0x34]
call fcn.00465d80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
add esp, 0x128
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x134]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x6fc70f]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
add esp, 0x128
ret
call fcn.004649b0
jmp fcn.0056b000