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

Disassembly:
push 0xffffffffffffffff
push 0xa532d8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
push 0xa95984
call fcn.00405e70
cmp byte [esp + 0x6c], 0
mov ebx, dword [esp + 0x68]
mov edi, dword [ebx]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edi
je 0x56e332
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add edx, ecx
lea eax, [edx + eax + 1]
mov dword [ebx + 0xc], eax
cmp dword [esp + 0x74], 0
mov ebp, dword [esp + 0x64]
jle 0x56e34e
mov ecx, dword [esp + 0x70]
mov dword [ecx + 4], ebp
mov dword [esp + 0x14], 1
jmp 0x56e356
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x3c]
call fcn.005922f0
mov eax, ebp
mov dword [esp + 0x5c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56e370
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x44]
call fcn.00592310
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
jl 0x56e3f4
cmp byte [esp + 0x6c], 0
je 0x56e39d
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [ebx + 8], ecx
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x56e3bd
mov edx, dword [esp + 0x70]
mov eax, dword [edx + esi*8 - 4]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56e3b0
sub eax, edi
mov dword [edx + esi*8 - 8], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.005921e0
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], eax
call fcn.00592200
test al, al
jne 0x56e40d
xor ebp, ebp
mov dword [esp + 0x34], ebp
jmp 0x56e428
mov ebp, dword [esp + 0x4c]
push 0
push 1
push 0xa95984
push ebp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], ebp
call fcn.00592250
push ebp
mov ecx, esi
call fcn.00405e70
mov ecx, dword [ebx + 8]
mov edx, ecx
sub edx, edi
mov edi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x68]
sub ecx, dword [ebx]
sub edi, dword [esp + 0x1c]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xc]
dec edx
dec edi
add ecx, ebx
cmp eax, edx
jle 0x56e4b6
cmp eax, dword [esp + 0x30]
jg 0x56e4b6
cmp byte [esp + 0x6c], 0
jne 0x56e467
cmp ecx, edi
jg 0x56e4b6
cmp byte [esp + 0x78], 0
je 0x56e4b6
mov ebx, dword [esp + 0x68]
mov edx, dword [ebx]
add dword [esp + 0x1c], ecx
cmp ecx, edi
mov dword [esp + 0x18], edx
jl 0x56e48b
mov eax, dword [esp + 0x1c]
lea ecx, [ecx + eax + 1]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x74], ecx
jle 0x56e4be
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
add eax, edx
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*8 + 4], eax
sub eax, dword [edx + ecx*8 - 4]
inc ecx
mov dword [edx + ecx*8 - 0x10], eax
mov dword [esp + 0x14], ecx
jmp 0x56e4be
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
xor edi, edi
cmp byte [ebp], 0
je 0x56e61a
mov edx, dword [esp + 0x70]
lea eax, [edx + ecx*8 - 4]
mov dword [esp + 0x30], eax
cmp dword [esi + 4], 0
je 0x56e61a
movzx ecx, byte [edi + ebp]
push ecx
call fcn.00a2a1f0
add esp, 4
test eax, eax
jle 0x56e51d
cmp byte [edi + ebp + 1], 0
je 0x56e51d
mov edx, dword [esi + 4]
mov dword [esp + 0x20], 2
test edx, edx
jne 0x56e50b
xor eax, eax
jmp 0x56e546
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 7]
shr eax, 3
imul eax, ecx
movzx ecx, word [edi + ebp]
jmp 0x56e540
mov edx, dword [esi + 4]
mov dword [esp + 0x20], 1
test edx, edx
jne 0x56e530
xor eax, eax
jmp 0x56e546
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 7]
shr eax, 3
imul eax, ecx
movzx ecx, byte [edi + ebp]
inc eax
imul eax, ecx
add eax, edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x56e61a
mov ebp, dword [ebx + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add edi, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
movzx ebx, byte [ebx]
mov eax, ebp
sub eax, dword [esp + 0x18]
dec ecx
dec eax
cmp ebx, eax
jle 0x56e5e8
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jle 0x56e5e3
cmp byte [esp + 0x6c], 0
jne 0x56e594
cmp edx, ecx
jg 0x56e5e3
add dword [esp + 0x1c], edx
cmp edx, ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
jl 0x56e5af
mov ecx, dword [esp + 0x1c]
lea edx, [edx + ecx + 1]
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x14]
jle 0x56e5ec
mov edx, dword [esp + 0x64]
inc dword [esp + 0x14]
mov ecx, edi
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
sub eax, dword [ecx]
add ecx, 8
mov dword [ecx - 0xc], eax
mov dword [esp + 0x30], ecx
jmp 0x56e5ec
dec ebp
cmp ebx, ebp
jg 0x56e635
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx]
mov eax, dword [esi + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
add eax, edx
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
jge 0x56e60c
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x34]
cmp byte [edi + ebp], 0
jne 0x56e4d6
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
jl 0x56e3f0
jmp 0x56e38e
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x56e3bd
mov eax, dword [esp + 0x70]
sub edi, dword [eax + esi*8 - 4]
sub edi, dword [esp + 0x20]
add edi, dword [esp + 0x28]
add edi, dword [esp + 0x64]
mov dword [eax + esi*8 - 8], edi
jmp 0x56e3bd