Function at 0x56a1f0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x7c]
lea eax, [ebp - 6]
push esi
xor edx, edx
test eax, eax
push edi
jle 0x56a64e
mov edx, dword [esp + 0x8c]
lea edx, [edx + edx*2]
add edx, edx
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x88]
lea edx, [ecx*4]
sub edx, ecx
neg edx
add edx, edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x7c]
add edx, 4
mov dword [esp + 0x40], edx
lea eax, [ecx + ecx]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x50], edx
mov edx, eax
lea ebp, [ecx + ecx*2]
sub edx, ebp
mov dword [esp + 0x54], edx
mov edx, eax
sub esi, eax
lea ebp, [ecx*4]
sub edx, ebp
mov dword [esp + 0x58], edx
lea edx, [ecx + ecx*4]
sub eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x84]
add eax, 0xfffffffa
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
add edx, 1
xor edi, edi
lea eax, [edx + edx*2]
add eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x50]
lea eax, [esi + ecx*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
add eax, esi
lea ebp, [edx + esi]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
add edx, esi
add eax, esi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], eax
lea eax, [edx - 6]
test eax, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x38], 0
jle 0x56a579
lea esi, [edi + ebx*2]
lea eax, [ebx + ebx*2]
add eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x7c]
lea edi, [edi + ebx*4]
add esi, ebx
lea esi, [esi + eax + 4]
add edi, ebx
lea edi, [edi + eax + 4]
mov eax, 0xfffffffe
sub eax, ebx
mov dword [esp + 0x24], eax
mov eax, 2
sub eax, ebx
mov dword [esp + 0x28], eax
mov eax, 4
sub eax, ebx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x40]
mov eax, 6
sub eax, ebx
mov dword [esp + 0x30], eax
mov eax, 0xfffffffc
sub eax, ebx
mov dword [esp + 0x20], eax
lea eax, [edx - 6]
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
add edx, 1
mov dword [esp + 0x34], ecx
lea eax, [edx + edx*2]
add ecx, ebx
add eax, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], eax
mov edi, edi
mov eax, dword [esp + 0x1c]
movzx edx, word [eax]
mov eax, dword [esp + 0x20]
mov word [eax + ecx], dx
movzx edx, word [ebp]
mov eax, dword [esp + 0x24]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x78]
movzx eax, word [edx]
mov edx, dword [esp + 0x34]
mov word [edx], ax
mov eax, dword [esp + 0x10]
movzx edx, word [eax]
mov eax, dword [esp + 0x28]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
mov edx, dword [esp + 0x2c]
mov word [edx + ecx], ax
mov eax, dword [esp + 0x18]
movzx edx, word [eax]
mov eax, dword [esp + 0x30]
mov word [eax + ecx], dx
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 2]
mov word [ecx - 4], dx
movzx edx, word [ebp + 2]
mov word [ecx - 2], dx
mov edx, dword [esp + 0x78]
movzx edx, word [edx + 2]
mov word [ecx], dx
mov edx, dword [esp + 0x10]
movzx edx, word [edx + 2]
mov word [ecx + 2], dx
mov edx, dword [esp + 0x14]
movzx edx, word [edx + 2]
movzx eax, word [eax + 4]
mov word [ecx + 4], dx
mov edx, dword [esp + 0x18]
movzx edx, word [edx + 2]
mov word [ecx + 6], dx
mov edx, dword [esp + 0x20]
mov word [edx + esi], ax
movzx eax, word [ebp + 4]
mov edx, dword [esp + 0x24]
mov word [edx + esi], ax
mov eax, dword [esp + 0x78]
movzx edx, word [eax + 4]
mov eax, dword [esp + 0x10]
mov word [ecx + ebx], dx
movzx edx, word [eax + 4]
mov eax, dword [esp + 0x28]
mov word [eax + esi], dx
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 4]
mov edx, dword [esp + 0x2c]
mov word [edx + esi], ax
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 4]
mov eax, dword [esp + 0x30]
mov word [eax + esi], dx
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 6]
mov word [esi - 4], dx
movzx edx, word [ebp + 6]
mov word [esi - 2], dx
mov edx, dword [esp + 0x78]
movzx edx, word [edx + 6]
movzx eax, word [eax + 8]
mov word [esi], dx
mov edx, dword [esp + 0x10]
movzx edx, word [edx + 6]
mov word [esi + 2], dx
mov edx, dword [esp + 0x14]
movzx edx, word [edx + 6]
mov word [esi + 4], dx
mov edx, dword [esp + 0x18]
movzx edx, word [edx + 6]
mov word [esi + 6], dx
mov edx, dword [esp + 0x20]
mov word [edx + edi], ax
movzx eax, word [ebp + 8]
mov edx, dword [esp + 0x24]
mov word [edx + edi], ax
mov eax, dword [esp + 0x78]
movzx edx, word [eax + 8]
mov eax, dword [esp + 0x10]
mov word [esi + ebx], dx
movzx edx, word [eax + 8]
mov eax, dword [esp + 0x28]
mov word [eax + edi], dx
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 8]
mov edx, dword [esp + 0x2c]
mov word [edx + edi], ax
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 8]
mov eax, dword [esp + 0x30]
mov word [eax + edi], dx
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 0xa]
mov word [edi - 4], dx
movzx edx, word [ebp + 0xa]
mov word [edi - 2], dx
mov edx, dword [esp + 0x78]
movzx edx, word [edx + 0xa]
mov word [edi], dx
mov edx, dword [esp + 0x10]
movzx edx, word [edx + 0xa]
mov word [edi + 2], dx
mov edx, dword [esp + 0x14]
movzx edx, word [edx + 0xa]
mov word [edi + 4], dx
mov edx, dword [esp + 0x18]
movzx edx, word [edx + 0xa]
mov word [edi + 6], dx
mov edx, 0xc
add dword [esp + 0x78], edx
add dword [esp + 0x10], edx
add dword [esp + 0x14], edx
add dword [esp + 0x18], edx
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x34], eax
add ebp, edx
add ecx, eax
add esi, eax
add edi, eax
sub dword [esp + 0x44], 1
jne 0x56a370
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
imul eax, ebx
sub edx, dword [esp + 0x38]
add eax, edi
add eax, dword [esp + 0x7c]
test edx, edx
mov dword [esp + 0x60], edx
jle 0x56a622
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
sub edi, ebp
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x10]
sub edi, ebp
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x14]
sub edi, ebp
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x18]
sub edx, ebp
sub edi, ebp
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x78], edi
movzx edi, word [edx + ebp]
mov word [eax], di
movzx edi, word [ebp]
mov word [eax + 2], di
mov edi, dword [esp + 0x48]
movzx edi, word [edi + ebp]
mov word [eax + 4], di
mov edi, dword [esp + 0x44]
movzx edi, word [edi + ebp]
mov word [eax + 6], di
mov edi, dword [esp + 0x38]
movzx edi, word [edi + ebp]
mov word [eax + 8], di
mov edi, dword [esp + 0x34]
movzx edi, word [edi + ebp]
mov word [eax + 0xa], di
add eax, ebx
add ebp, 2
sub dword [esp + 0x78], 1
jne 0x56a5d3
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
add esi, dword [esp + 0x64]
add dword [esp + 0x40], eax
add edi, eax
sub dword [esp + 0x4c], 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], edi
jne 0x56a2a4
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
test esi, esi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x78], edx
jle 0x56a6c3
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], esi
jmp 0x56a670
cmp edx, ebp
jge 0x56a6af
mov ebp, edx
imul ebp, ecx
mov esi, ecx
sub eax, ebp
neg esi
add eax, dword [esp + 0x88]
jmp 0x56a690
mov bp, word [eax]
mov word [edi + edx*2], bp
mov ebp, dword [esp + 0x84]
add edx, 1
add eax, esi
cmp edx, ebp
jl 0x56a690
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x8c]
add edi, ebx
sub dword [esp + 0x74], 1
mov dword [esp + 0x7c], eax
jne 0x56a670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c