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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ecx + 0xec]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.00551780
sub esp, 4
call fcn.004cb890
mov dword [esp], 0xac
mov ecx, eax
call fcn.004cba30
mov edi, dword [ebp - 0x1c]
sub esp, 4
mov ebx, eax
mov dword [eax + 4], edi
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov byte [eax + 0x14], 1
mov dword [eax], 0x6f24e8
call fcn.004cb890
and byte [ebx + 0x38], 0xc0
and byte [ebx + 0x2e], 0xf0
and byte [ebx + 0x30], 0xfe
and byte [ebx + 0x88], 0x80
or byte [ebx + 0x90], 0xf
and word [ebx + 0x3a], 0xfe3f
and word [ebx + 0x38], 0xc03f
and byte [ebx + 0x3d], 0x80
mov dword [ebx + 0x18], eax
movzx eax, byte [ebx + 0x8c]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x8c], al
mov dword [ebx + 0x28], 0x6f2308
mov byte [ebx + 0x2c], 0
mov byte [ebx + 0x2d], 1
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov byte [ebx + 0x84], 0
mov byte [ebx + 0x85], 0
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x3c], 0
and byte [ebx + 0x40], 0x80
movzx eax, word [ebx + 0x52]
movzx edx, word [ebx + 0x66]
or byte [ebx + 0x5c], 0x7f
or dword [ebx + 0x54], 0x7fff8000
and ax, 0xf80f
or ax, 0x3f0
or dx, 0x1fe0
mov word [ebx + 0x52], ax
movzx eax, byte [ebx + 0x50]
mov word [ebx + 0x66], dx
shr dx, 8
or word [ebx + 0x4c], 0xfff
or word [ebx + 0x5c], 0x780
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x50], al
mov eax, dword [ebx + 0x58]
or dword [ebx + 0x60], 0x1ff80
or word [ebx + 0x64], 0x1ff8
or eax, 0x7f8000
mov dword [ebx + 0x58], eax
shr eax, 0x18
or eax, 0xffffff80
or edx, 0xffffffe0
mov byte [ebx + 0x5b], al
lea eax, [ebx + 0x98]
mov byte [ebx + 0x67], dl
and byte [ebx + 0x6b], 0x1f
and byte [ebx + 0x6c], 0xe0
mov dword [ebx + 0x44], 0xffffffff
mov dword [ebx + 0x48], 0xffffffff
mov byte [ebx + 0x6d], 0
mov byte [ebx + 0x6e], 0
mov byte [ebx + 0x6f], 0
mov dword [ebx + 0x70], 0xfffff800
mov byte [ebx + 0x68], 0xff
and dword [ebx + 0x38], 0xffc03fff
mov edx, dword [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
mov edi, dword [edx - 4]
mov dword [ebp - 0x30], eax
test edi, edi
js 0x579080
lock add dword [edx - 4], 1
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x9c], edx
mov dword [ebx + 0x98], eax
mov eax, dword [edx - 0xc]
cmp eax, 0x3ffffffc
je 0x579234
lea edi, [eax + 1]
cmp edi, dword [edx - 8]
jbe 0x579140
mov ecx, dword [ebp - 0x38]
mov dword [esp], edi
call fcn.005f4880
mov edx, dword [ebx + 0x9c]
mov eax, dword [edx - 0xc]
sub esp, 4
mov byte [edx + eax], 0x28
mov eax, dword [ebx + 0x9c]
mov ecx, esi
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
movzx eax, byte [esi + 4]
mov dword [ebx + 0xa0], 0
mov byte [ebx + 0xa4], 0
mov byte [ebx + 0xa5], 0
mov byte [ebx + 0x2c], al
mov eax, dword [esi + 0x5c]
mov byte [ebx + 0xa6], 0
mov byte [ebx + 0xa7], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0x84], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x70], eax
movzx eax, byte [ebx + 0x2d]
movzx edx, byte [esi + 5]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebx + 0x2d], al
movzx edx, byte [esi + 5]
and eax, 0xf
and edx, 0xfffffff0
or eax, edx
mov byte [ebx + 0x2d], al
movzx eax, byte [ebx + 0x2e]
movzx edx, byte [esi + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebx + 0x2e], al
movzx eax, byte [ebx + 0x30]
movzx edx, byte [esi + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebx + 0x30], al
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x80], eax
mov eax, dword [esi]
call dword [eax + 0x30]
mov ecx, esi
movzx eax, word [eax + 4]
shr ax, 6
movzx eax, al
mov dword [ebx + 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x10], ebx
mov eax, dword [esi]
call dword [eax + 0x30]
test byte [eax + 4], 0x3f
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
je 0x579130
call dword [eax + 0x88]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.00585c50
sub esp, 4
test al, al
je 0x579170
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
mov edi, dword [ebp - 0x2c]
mov ecx, edi
mov dword [esp], eax
call fcn.0057e480
mov ecx, edi
sub esp, 4
mov dword [esp], 0x112
call fcn.00586e80
mov edx, eax
sub esp, 4
xor eax, eax
test dl, dl
jne 0x5791b8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
cmp edi, 0x3ffffffc
ja 0x579240
cmp edi, eax
ja 0x579155
lea ecx, [edi + 0x1d]
cmp ecx, 0x1000
jbe 0x5790c4
cmp eax, edi
jae 0x5790c4
lea eax, [edi + 0x1000]
and ecx, 0xfff
sub eax, ecx
mov edi, 0x3ffffffc
cmp eax, 0x3ffffffc
cmovbe edi, eax
mov ecx, dword [ebp - 0x30]
lea eax, [edi + 0xd]
mov dword [esp], eax
mov dword [ebp - 0x34], edx
call fcn.004cba30
mov edx, dword [ebp - 0x34]
mov ecx, eax
sub esp, 4
mov dword [eax + 4], edi
mov dword [eax + 8], 0
mov eax, dword [edx - 0xc]
test eax, eax
je 0x5791b0
cmp eax, 1
lea edi, [ecx + 0xc]
je 0x579162
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx - 0xc]
mov edx, edi
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov byte [edx + eax], 0
jmp 0x578e65
call dword [eax + pe_nt_image_headers32]
jmp 0x579018
mov ecx, dword [edx - 4]
test ecx, ecx
jg 0x578e8e
nop
lea esi, [esi]
jmp 0x578ea5
lea ecx, [eax + eax]
cmp edi, ecx
cmovb edi, ecx
jmp 0x57909a
movzx eax, byte [edx]
mov byte [ecx + 0xc], al
mov eax, dword [edx - 0xc]
mov edx, edi
jmp 0x57911b
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 0xec]
lea ecx, [edi + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
mov dword [esp], eax
mov dword [esp + 0x10], 0x6e8f02
mov dword [esp + 0xc], str.function_parameter_list
mov dword [esp + 8], str.Expected
mov dword [esp + 4], ecx
call edx
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea edx, [ecx + 0xc]
jmp 0x57911b
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0xc], eax
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov ebx, eax
call fcn.004cb890
mov ecx, edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x2c], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00578c30
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 0x6e8fee
call fcn.0064ba80
mov dword [esp], 0x6e8ec0
call fcn.0064ba80
lea esi, [esi]