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

Disassembly:
push 0xffffffffffffffff
push 0x6ca3b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x7c]
push edi
mov eax, dword [esi + 0x80]
lea ebp, [esi + 0x78]
push ecx
push eax
push eax
call fcn.005709d0
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
push edi
call fcn.00641c50
lea ecx, [esp + 0x4c]
mov dword [ebp + 8], edi
call fcn.0061bb00
mov al, byte [esp + 0x33]
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 3
lea ecx, [esp + 0x50]
mov byte [esp + 0xb8], 1
call fcn.0061bcb0
lea ecx, [esi + 0xb4]
push ecx
lea ecx, [esp + 0x24]
call fcn.0061d790
mov eax, dword [esp + 0xbc]
mov edi, dword [esi + 0x2c]
test al, al
mov byte [esp + 0xb4], 2
jbe 0x56e5b0
and eax, 0xff
lea edi, [edi + eax*4]
mov esi, 1
push ebx
mov ecx, edi
mov dword [esp + 0x30], esi
call fcn.0061daa0
cmp al, 1
jb 0x56e898
lea ebx, [esi + esi*2]
mov ecx, edi
mov dword [esp + 0x34], ebx
lea eax, [ebx - 2]
push eax
call fcn.0061daa0
push eax
push 3
lea ecx, [esp + 0x28]
call fcn.0061dbc0
lea eax, [ebx - 1]
mov ecx, edi
push eax
call fcn.0061daa0
push eax
push 4
lea ecx, [esp + 0x28]
call fcn.0061dbc0
push ebx
mov ecx, edi
call fcn.0061daa0
push eax
push 5
lea ecx, [esp + 0x28]
call fcn.0061dbc0
lea edx, [esp + 0x20]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0061c400
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
cmp ecx, esi
je 0x56e757
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x56e648
mov dword [esp + 0x38], ecx
jmp 0x56e654
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x10]
call fcn.00647dd0
cmp dword [esp + 0x38], eax
ja 0x56e69e
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00413d20
mov ecx, esi
call fcn.00647dd0
mov edx, dword [esp + 0x14]
lea eax, [edx + eax*4]
mov dword [esp + 0x18], eax
jmp 0x56e757
mov ecx, esi
call fcn.00647dd0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.006480f0
cmp ebx, eax
ja 0x56e6fc
mov ebx, dword [esi + 4]
lea ecx, [esp + 0x10]
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
lea ebx, [ebx + eax*4]
mov eax, dword [esi + 4]
push ecx
push ebx
push eax
call fcn.00414d10
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x10]
push edx
push eax
push ebx
call fcn.00413d50
mov ecx, esi
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax*4]
mov dword [esp + 0x18], edx
jmp 0x56e753
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00413d20
mov edx, dword [esp + 0x14]
push edx
call fcn.006a64d0
add esp, 4
mov ecx, esi
call fcn.00647dd0
test eax, eax
jge 0x56e729
xor eax, eax
shl eax, 2
push eax
call fcn.006a6832
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00413d50
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xbc], 2
call fcn.00413d20
mov eax, dword [esp + 0x40]
push eax
call fcn.006a64d0
mov eax, dword [esp + 0x18]
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x56e839
mov ecx, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
cmp ecx, 3
jb 0x56e839
push esi
lea ecx, [eax + 8]
call fcn.0061daa0
mov edx, dword [esp + 0x14]
push 1
mov byte [esp + 0x28], al
lea ecx, [edx + 8]
call fcn.0061daa0
mov byte [esp + 0x25], al
mov eax, dword [esp + 0x14]
push 2
lea ecx, [eax + 8]
call fcn.0061daa0
mov byte [esp + 0x26], al
lea eax, [ebx - 2]
push eax
mov ecx, edi
call fcn.0061daa0
mov byte [esp + 0x27], al
lea eax, [ebx - 1]
push eax
mov ecx, edi
call fcn.0061daa0
push ebx
mov ecx, edi
mov byte [esp + 0x2c], al
call fcn.0061daa0
lea ecx, [esp + 0x24]
mov byte [esp + 0x29], al
mov eax, dword [ebp + 8]
push ecx
push 1
push eax
mov ecx, ebp
call fcn.005706d0
mov ebx, dword [esp + 0x2c]
push esi
inc ebx
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.0061daa0
and eax, 0xff
cmp ebx, eax
jg 0x56e896
mov esi, ebx
jmp 0x56e5c9
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 1
call fcn.0061d8c0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0
call fcn.00413d20
mov ecx, dword [esp + 0x14]
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xb4], 0xffffffff
call fcn.0061bc60
xor al, al
jmp 0x56e8fc
xor ebx, ebx
lea ecx, [esp + 0x4c]
call fcn.0061c140
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 1
call fcn.0061d8c0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0
call fcn.00413d20
mov ecx, dword [esp + 0x14]
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xb4], 0xffffffff
call fcn.0061bc60
mov al, 1
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 4