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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56ea2f
sub esp, 0x50
mov eax, dword [esp + 0x60]
mov ecx, eax
shl eax, 2
mov edx, dword [esp + 0x58]
cmp edx, eax
jl 0x56e6e3
mov dword [esp + 0x28], eax
lea eax, [0x6b33a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
xor esi, esi
jmp 0x56e7a8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x7067b7]
mov dword [esp], eax
mov dword [esp + 4], 0x3c
lea eax, [esp + 0x40]
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 + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
lea esi, [edi + 1]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
cmp ecx, esi
jle 0x56e9df
mov edi, esi
shl esi, 2
cmp edx, esi
jb 0x56ea25
sub ebx, esi
neg ebx
sar ebx, 0x1f
and ebx, esi
sub edx, esi
cmp edx, 3
jbe 0x56ea19
movzx edx, byte [ebp + ebx + 3]
movzx esi, byte [ebp + ebx + 2]
shl esi, 8
or esi, edx
movzx edx, byte [ebp + ebx + 1]
shl edx, 0x10
or edx, esi
movzx ebx, byte [ebp + ebx]
shl ebx, 0x18
or ebx, edx
test ebx, ebx
je 0x56e79d
mov edx, dword [esp + 0x58]
cmp edx, ebx
jl 0x56e929
jb 0x56ea10
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x5c]
sub eax, ebx
mov esi, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp], eax
sub edx, ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc], edx
call fcn.00562390
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x24]
cmp esi, edi
jbe 0x56ea07
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x34]
lea ebx, [ebp + edi*8]
mov dword [ebx], ecx
mov ebx, dword [0x1eaa9f0]
mov ecx, ebp
lea ebp, [ebp + edi*8 + 4]
test ebx, ebx
jne 0x56e884
mov dword [ebp], eax
jmp 0x56e88f
mov ebx, edi
mov edi, ebp
call fcn.00465d80
mov edi, ebx
test edx, edx
jne 0x56e8a0
mov eax, ecx
mov ecx, esi
mov ebp, dword [esp + 0x54]
jmp 0x56e79d
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x56e8bd
mov ebx, dword [eax + 4]
jmp 0x56e8bf
mov ebx, eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
lea eax, [0x6fbcd9]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x38]
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 edx, dword [esp + 0x34]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x7067b7]
mov dword [esp], eax
mov dword [esp + 4], 0x3c
lea eax, [esp + 0x40]
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 edx, dword [esp + 0x34]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov eax, edi
mov ecx, esi
call fcn.00465e00
mov eax, ebx
mov ecx, edx
call fcn.00465e60
mov eax, 3
mov ecx, edx
call fcn.00465e00
mov eax, esi
mov ecx, edx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.0056e680