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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x56ac65
sub esp, 0xa8
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x56a6e8
mov edx, dword [esp + 0xd4]
lea ebx, [edx - 1]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
jmp 0x56aa67
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x80], eax
mov ebp, dword [esp + 0xc4]
cmp ebp, 0xa
jne 0x56a71e
mov ebp, eax
jmp 0x56a8a0
mov esi, eax
jmp 0x56a72f
mov eax, edi
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0xa4]
test ecx, ecx
je 0x56a7c0
mov dword [esp + 0x4c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x18], eax
call fcn.0056b720
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x94]
jmp 0x56a837
mov edi, dword [esp + 0x74]
jmp 0x56a722
mov edx, dword [esp + 0xb8]
jmp 0x56a7d0
mov byte [eax + edx - 1], 0x30
mov eax, ebx
test eax, eax
jle 0x56a7dd
lea ebx, [eax - 1]
cmp esi, ebx
ja 0x56a7c9
jmp 0x56a7e4
add esp, 0xa8
ret
mov eax, ebx
mov ecx, esi
call fcn.00456b40
mov byte [esp + 0x4b], dl
mov edx, dword [esp + 0xb8]
movzx ecx, byte [esp + 0x4b]
mov byte [edi + edx - 1], cl
mov edx, dword [esp + 0x64]
inc edx
mov dword [esp + 0x64], edx
mov edi, eax
mov eax, dword [esp + 0x58]
xor edx, edx
div ebp
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0xc8]
mov edx, dword [esp + 0x64]
cmp edi, edx
jle 0x56a7b7
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x56a722
test ebp, ebp
je 0x56a88a
mov eax, ebx
xor edx, edx
div ebp
cmp edx, 0x3e
jae 0x56a87e
mov dword [esp + 0x58], ebx
lea eax, [edi - 1]
lea ebx, [0x77ac1e]
movzx edx, byte [ebx + edx]
cmp esi, eax
ja 0x56a7ed
mov ecx, esi
call fcn.00456b40
mov eax, edx
mov ecx, 0x3e
call fcn.00456b50
call fcn.0042f690
mov ebp, edi
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xa4]
test ecx, ecx
je 0x56a938
mov dword [esp + 0x4c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x18], eax
call fcn.0056b720
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], ecx
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
jmp 0x56a963
mov ebp, dword [esp + 0x78]
jmp 0x56a88f
mov esi, ebp
jmp 0x56a7c0
add ebx, 0x30
mov byte [ebp + esi - 1], bl
mov ebx, dword [esp + 0x68]
inc ebx
mov ebp, dword [esp + 0xc8]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x68], ebx
mov ebx, eax
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x68]
cmp ebp, edx
jle 0x56a92f
mov ebp, dword [esp + 0x78]
test ebp, ebp
jle 0x56a88f
lea edx, [ebp - 1]
mov dword [esp + 0x78], edx
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov eax, edx
lea edx, [edx + edx*4]
shl edx, 1
sub ebx, edx
mov edx, dword [esp + 0x78]
cmp edi, edx
ja 0x56a93f
mov eax, edx
mov ecx, edi
call fcn.00456b40
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x80], edx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov edx, dword [esp + 0xc0]
sub edx, ecx
mov dword [esp + 0x70], edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ebx, dword [esp + 0xb8]
add edx, ebx
mov dword [esp + 0xc], edx
sub edi, ecx
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x60]
mov dword [esp + 0x28], edi
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x2c], ebx
call fcn.0056a670
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
cmp dword [0x673118], eax
jge 0x56abf4
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], ebx
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00565dd0
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 1
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x60]
jmp 0x56ac08
cmp edx, ebp
jbe 0x56ac52
lea esi, [ebp + ebp*4]
lea edi, [ebx + esi*4 + 0xc]
cmp dword [edi], ecx
jge 0x56aad5
xor eax, eax
jmp 0x56ab2a
mov dword [esp + 0x74], ebp
mov eax, dword [ebx + esi*4]
mov ecx, dword [ebx + esi*4 + 4]
mov edx, dword [ebx + esi*4 + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
call fcn.005632b0
mov eax, dword [esp + 0x18]
test eax, eax
setge al
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x74]
test al, al
je 0x56ab37
dec ebp
test ebp, ebp
jl 0x56ac3a
cmp edx, ebp
jbe 0x56ac31
mov dword [esp + 0x60], ebp
lea eax, [ebp + ebp*4]
mov dword [esp + 0x70], eax
mov ecx, dword [ebx + eax*4]
mov edx, dword [ebx + eax*4 + 4]
mov esi, dword [ebx + eax*4 + 8]
mov edi, dword [esp + 0xa4]
mov dword [esp], edi
mov ebp, dword [esp + 0x78]
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
call fcn.0056b3c0
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0xd0]
mov edi, dword [eax + edi*4 + 0x10]
mov ecx, dword [esp + 0x80]
sub ecx, edi
mov edi, dword [esp + 0x80]
cmp edi, ecx
jae 0x56a9a2
jmp 0x56ac28
mov edx, ecx
mov ebx, ebp
mov ecx, eax
mov eax, dword [esp + 0x80]
jmp 0x56a704
mov ebp, esi
test ebp, ebp
jle 0x56aabd
lea esi, [ebp - 1]
cmp edx, esi
jbe 0x56ac5b
lea edi, [ebp + ebp*4]
lea edi, [ebx + edi*4 - 8]
cmp dword [edi], eax
jg 0x56ac06
jmp 0x56aabd
mov eax, ecx
mov ecx, edi
call fcn.00456ba0
mov eax, ebp
mov ecx, edx
call fcn.00456b40
lea eax, [0x7345e0]
mov dword [esp], eax
lea eax, [0x7c9fd8]
mov dword [esp + 4], eax
call fcn.00430590
mov eax, ebp
mov ecx, edx
call fcn.00456b40
mov eax, esi
mov ecx, edx
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.0056a670