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

Disassembly:
sub esp, 0x130
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
xor esi, esi
push edi
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x20], esi
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x56a96f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x130
ret
cmp dword [ebx], 0
jge 0x56abc6
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov ax, word [ebx + 0x80]
lea edx, [ecx + eax*4]
mov eax, dword [ebx + 0x78]
test eax, eax
mov dword [esp + 0x3c], edx
jne 0x56abbf
xor eax, eax
mov ax, word [ebx + 0x84]
push eax
call fcn.00577ea0
mov edi, eax
xor ecx, ecx
add esp, 4
cmp edi, ecx
mov dword [esp + 0x2c], edi
je 0x56abf9
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], ecx
cmp eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
je 0x56aba4
mov ecx, dword [0x9671d8]
lea esi, [eax*4]
push 0x10006
push esi
call dword [ecx + 0x108]
mov edx, dword [0x9671d8]
push 0x10507
push esi
mov dword [esp + 0x38], eax
call dword [edx + 0x108]
mov dword [esp + 0x34], eax
mov eax, dword [0x9671d8]
push 0x10507
push esi
call dword [eax + 0x108]
mov ebp, eax
xor eax, eax
add esp, 0x18
cmp word [ebx + 0x84], ax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
jbe 0x56ab66
mov ecx, dword [ebx + 4]
xor esi, esi
xor edi, edi
lea edx, [ecx + eax*8]
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp word [esp + 0x18], si
mov ax, word [edx + 6]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x38], eax
mov eax, dword [eax]
jbe 0x56aa6d
mov ebp, dword [esp + 0x28]
mov ecx, esi
and ecx, 0xffff
cmp dword [ebp + ecx*4], eax
je 0x56aa6d
inc esi
cmp si, word [esp + 0x18]
jb 0x56aa53
cmp si, word [esp + 0x18]
jne 0x56aa8d
mov ebp, dword [esp + 0x28]
mov ecx, esi
and ecx, 0xffff
mov dword [ebp + ecx*4], eax
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x56aa93
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp word [esp + 0x10], cx
jbe 0x56aab5
mov ebp, ecx
and ebp, 0xffff
cmp dword [eax + ebp*4], edi
je 0x56aab5
inc ecx
cmp cx, word [esp + 0x10]
jb 0x56aaa0
cmp cx, word [esp + 0x10]
jne 0x56aad0
mov ebp, ecx
and ebp, 0xffff
mov dword [eax + ebp*4], edi
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edi, dword [eax + 8]
xor eax, eax
cmp word [esp + 0x14], ax
jbe 0x56aafe
mov ebx, eax
and ebx, 0xffff
cmp dword [ebp + ebx*4], edi
je 0x56aafa
inc eax
cmp ax, word [esp + 0x14]
jb 0x56aae4
mov ebx, dword [esp + 0x1c]
cmp ax, word [esp + 0x14]
jne 0x56ab1e
mov ebx, eax
and ebx, 0xffff
mov dword [ebp + ebx*4], edi
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x14], edi
push eax
push ecx
mov cx, word [edx + 6]
xor eax, eax
mov ax, word [edx + 4]
mov edi, dword [esp + 0x34]
push esi
push ecx
xor ecx, ecx
push eax
mov cx, word [edx + 2]
xor eax, eax
mov ax, word [edx]
push ecx
mov ecx, dword [esp + 0x50]
push eax
push ecx
push edi
call fcn.00578010
mov eax, dword [esp + 0x54]
xor edx, edx
mov dx, word [ebx + 0x84]
add esp, 0x24
inc eax
cmp eax, edx
mov dword [esp + 0x30], eax
jl 0x56aa2f
mov eax, dword [esp + 0x28]
mov ecx, dword [0x9671d8]
push eax
call dword [ecx + 0x10c]
mov edx, dword [esp + 0x28]
mov eax, dword [0x9671d8]
push edx
call dword [eax + 0x10c]
mov ecx, dword [0x9671d8]
push ebp
call dword [ecx + 0x10c]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x150]
add esp, 0xc
xor ecx, ecx
test byte [ebp + 8], 1
je 0x56abae
push 1
jmp 0x56abaf
push ecx
push edi
call fcn.0057b1b0
add esp, 8
test eax, eax
je 0x56abf0
mov dword [ebx + 0x78], eax
mov ebx, dword [esp + esi*4 + 0x40]
dec esi
jmp 0x56abd3
mov eax, ebx
mov ebx, dword [ebx + 8]
inc esi
mov edx, dword [eax + 0xc]
mov dword [esp + esi*4 + 0x40], edx
test esi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
jge 0x56a96f
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
push edi
call fcn.00577f90
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x130
ret