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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x56cc98
sub esp, 0xf8
mov edx, dword [esp + 0x118]
cmp edx, 1
jle 0x56cc7f
mov ebx, dword [esp + 0x10c]
test ebx, ebx
jbe 0x56cc76
mov eax, dword [esp + 0x108]
mov eax, dword [eax]
test eax, 1
je 0x56c333
mov eax, dword [esp + 0x120]
cmp eax, 1
je 0x56c2ca
lea ecx, [eax + 0x1f]
shr ecx, 5
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.0056a3a0
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [eax]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x3c], ebx
lea edi, [esp + 0xb8]
mov ebp, eax
xor eax, eax
call fcn.00464420
xor eax, eax
jmp 0x56c37a
mov eax, dword [esp + 0x104]
cmp eax, 1
jl 0x56c2e6
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x104]
jmp 0x56c30d
lea eax, [0x68d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], ecx
add esp, 0xf8
ret
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 0
mov eax, dword [esp + 0x104]
mov dword [esp + 0x12c], eax
add esp, 0xf8
ret
mov dword [esp + ecx*4 + 0xb8], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x98]
cmp eax, 0x10
jge 0x56c3a1
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0056a3a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x10
jb 0x56c361
jmp 0x56cc6a
mov ecx, dword [esp + 0xb8]
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
mov eax, ebp
mov ebp, dword [0x8bbb6c]
mov dword [esp + 0x54], ebp
mov edi, edx
mov edx, dword [0x8bbb68]
cmp esi, ebp
jge 0x56c458
mov dword [esp + 0xa4], edx
cmp ebp, 1
jne 0x56c419
lea eax, [0x68d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044aea0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, 1
mov esi, 1
jmp 0x56c458
lea eax, [0x68d8c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0044aea0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
cmp ebp, ebx
jg 0x56c462
mov ebx, ebp
cmp ecx, edx
je 0x56c4a2
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00464b20
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0xb8]
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov ebx, dword [0x8e7a50]
test ebx, ebx
jne 0x56c4bd
mov dword [edx], ecx
jmp 0x56c4c6
mov edi, edx
mov eax, ecx
call fcn.00464190
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x18], ebx
call fcn.0056abb0
mov edi, dword [esp + 0xbc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x8e7a50]
test ecx, ecx
jne 0x56c538
mov dword [edi], eax
jmp 0x56c53d
call fcn.00464190
mov eax, 2
jmp 0x56c54b
mov edx, dword [esp + 0x74]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x56c721
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, 0x10
jae 0x56cc60
mov ebx, dword [esp + eax*4 + 0xb8]
cmp edx, 0x10
jae 0x56cc54
mov ebp, dword [esp + edx*4 + 0xb8]
lea eax, [edx + 1]
cmp eax, 0x10
jae 0x56cc4a
mov dword [esp + 0x74], edx
mov dword [esp + 0xac], ebp
mov eax, dword [esp + edx*4 + 0xbc]
mov dword [esp + 0xa8], eax
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00569bd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x8e7a50]
test ebx, ebx
jne 0x56c5f6
mov dword [edi], eax
jmp 0x56c5fb
call fcn.00464190
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x8e7a50]
test ebx, ebx
jne 0x56c649
mov dword [edi], eax
jmp 0x56c64e
call fcn.00464190
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x20], edx
call fcn.00568b00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x8e7a50]
test ebx, ebx
jne 0x56c6c1
mov dword [edi], eax
jmp 0x56c6c6
call fcn.00464190
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x8e7a50]
test ecx, ecx
jne 0x56c717
mov dword [edi], eax
jmp 0x56c544
call fcn.00464190
jmp 0x56c544
mov edx, dword [esp + 0x120]
lea ecx, [edx - 1]
test ecx, 0x1f
je 0x56c73d
mov ebx, 1
shl ebx, cl
dec ebx
jmp 0x56c742
mov ebx, 0xffffffff
mov ecx, dword [esp + 0x118]
lea ebp, [ecx - 1]
lea esi, [edx - 2]
shr esi, 5
cmp esi, ebp
jge 0x56c75a
mov eax, esi
jmp 0x56c75e
mov eax, esi
mov esi, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], ebx
nop
mov ebp, dword [esp + 0x104]
cmp ebp, 1
jl 0x56c77c
mov edi, dword [esp + 0xfc]
jmp 0x56c7c3
mov dword [esp + 0x64], esi
lea eax, [0x68d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov edi, eax
mov ebp, 1
mov eax, dword [esp + 0x78]
mov dword [edi], 1
mov dword [esp + 0x8c], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x8c]
jmp 0x56c811
dec esi
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
test esi, esi
jl 0x56c84c
cmp ecx, esi
jbe 0x56cc43
mov edx, dword [esp + 0x114]
mov edx, dword [edx + esi*4]
cmp esi, eax
jne 0x56c82d
and edx, ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
jmp 0x56ca33
mov dword [esp + 0x94], edi
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [0x8e7a50]
test ecx, ecx
jne 0x56c881
mov eax, dword [esp + 0x9c]
mov dword [edx], eax
jmp 0x56c88f
mov eax, dword [esp + 0x9c]
mov edi, edx
call fcn.00464190
lea eax, [0x8c1720]
mov dword [esp], eax
lea ecx, [0x6c5f60]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0046ba90
xor eax, eax
jmp 0x56c8db
mov dword [esp + 0x60], eax
mov ecx, dword [esp + eax*4 + 0xb8]
lea edx, [0x8c1720]
mov dword [esp], edx
lea ebx, [0x6c5f60]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0046ba90
mov eax, dword [esp + 0x60]
inc eax
cmp eax, 0x10
jge 0x56c8e4
jb 0x56c8af
jmp 0x56c93a
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
mov eax, ecx
jmp 0x56c8f5
mov ecx, ebp
test ecx, ecx
jle 0x56c908
lea ebp, [ecx - 1]
cmp eax, ebp
jbe 0x56c931
mov esi, dword [ebx + ecx*4 - 4]
test esi, esi
je 0x56c8f3
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x56c92c
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
add esp, 0xf8
ret
call fcn.00464250
mov ecx, eax
mov eax, ebp
call fcn.00464210
mov ecx, 0x10
call fcn.00464210
mov dword [esp + 0x74], ebp
mov dword [esp + 0xb0], edi
mov dword [esp + 0x6c], eax
shr edx, 0x1c
mov edx, dword [esp + edx*4 + 0xb8]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
call fcn.00568b00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov eax, dword [esp + 0x5c]
add eax, 4
mov edx, dword [esp + 0x50]
shl edx, 4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov ebx, 1
mov byte [esp + 0x33], bl
mov esi, dword [esp + 0x74]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x118]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
cmp ebx, 0x20
jge 0x56c7e8
mov dword [esp + 0x50], edx
movzx eax, byte [esp + 0x33]
test al, al
jne 0x56ca56
mov eax, dword [esp + 0x74]
jmp 0x56c944
mov dword [esp + 0x70], ebp
mov dword [esp + 0xb4], edi
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.00569bd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00569bd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00569bd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00569bd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
jmp 0x56c944
mov eax, esi
call fcn.00464210
mov ecx, 0x10
call fcn.00464210
mov eax, edx
mov ecx, 0x10
call fcn.00464210
mov ecx, 0x10
call fcn.00464210
mov eax, ecx
mov ecx, 0x10
call fcn.00464210
xor eax, eax
mov ecx, eax
call fcn.00464210
lea eax, [0x68de40]
mov dword [esp], eax
lea eax, [0x730278]
mov dword [esp + 4], eax
call fcn.00436170
nop
call fcn.00462d80
jmp fcn.0056c220