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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56e7d9
sub esp, 0x60
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005309c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x56e4b5
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x56e52e
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x66ec3c]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x6cf47c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov ecx, edx
mov edx, ebp
mov ebp, eax
mov eax, ebx
mov ebx, edi
mov edi, dword [esp + 0x68]
test edi, edi
je 0x56e725
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x64]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.005304b0
movzx eax, byte [esp + 8]
test al, al
je 0x56e6b6
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [0x82159c]
mov ebp, dword [0x821598]
test ebx, ebx
je 0x56e5ae
mov dword [esp + 0x3c], ebx
xor eax, eax
jmp 0x56e762
xor eax, eax
xor ecx, ecx
test al, al
je 0x56e621
mov eax, dword [esp + 0x2c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jb 0x56e5cb
mov ebp, dword [esp + 0x4c]
jmp 0x56e60c
mov dword [esp + 0x34], ecx
lea ecx, [0x633300]
mov dword [esp], ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004484a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebp, edx
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [ebp + eax*4], ecx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
jmp 0x56e524
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jb 0x56e636
mov esi, dword [esp + 0x48]
jmp 0x56e66d
lea eax, [0x640120]
mov dword [esp], eax
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004484a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x20]
mov ebx, ebp
lea ecx, [ecx + ecx*2]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov edi, edx
mov edx, dword [esp + 0x5c]
mov dword [esi + ecx*4 + 4], ebp
mov dword [esi + ecx*4 + 8], edx
mov edx, dword [0x84e4b0]
lea ebp, [esi + ecx*4]
test edx, edx
jne 0x56e698
mov dword [esi + ecx*4], eax
jmp 0x56e6a3
mov ecx, edi
mov edi, ebp
call fcn.0045f3a0
mov edi, ecx
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
mov eax, ebx
mov ebx, dword [esp + 0x30]
jmp 0x56e524
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x66ec3c]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x6cf47c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
add ebp, 0x10
mov eax, esi
mov esi, dword [ebp + 4]
mov edi, esi
mov esi, dword [ebp]
nop
cmp dword [ebp + 8], ecx
jne 0x56e790
mov dword [esp + 0x50], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
jmp 0x56e7af
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
lea esi, [eax + 1]
cmp ebx, esi
jg 0x56e75d
jmp 0x56e5ae
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
cmp ebp, ecx
jge 0x56e7c5
jae 0x56e7d1
mov esi, dword [edx + ebp*4]
lea ebx, [edi + ebp*4]
cmp dword [ebx], esi
je 0x56e79c
jmp 0x56e788
mov eax, 1
mov ecx, esi
jmp 0x56e5b2
mov eax, ebp
call fcn.0045f420
nop
call fcn.0045df90
jmp fcn.0056e470