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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov dword [ecx + 0xc], 0
mov esi, dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov byte [ecx + 0x14], 1
mov dword [ecx + 4], edi
mov dword [ecx], 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 edx, 0xffffffe0
mov byte [ebx + 0x67], dl
lea edx, [ebx + 0x98]
and eax, 0xfffffff8
mov ecx, edx
or eax, 4
mov byte [ebx + 0x50], al
mov eax, dword [ebx + 0x58]
or word [ebx + 0x4c], 0xfff
or word [ebx + 0x5c], 0x780
or dword [ebx + 0x60], 0x1ff80
or eax, 0x7f8000
mov dword [ebx + 0x58], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [ebx + 0x5b], al
or word [ebx + 0x64], 0x1ff8
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 dword [esp], edi
mov dword [ebp - 0x1c], edx
call fcn.005f4c40
mov eax, dword [ebx + 0x9c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
sub esp, 4
cmp ecx, 0x3ffffffc
je 0x5b5487
lea edi, [ecx + 1]
cmp edi, dword [eax - 8]
jbe 0x5b5478
mov ecx, edx
mov dword [esp], edi
call fcn.005f4880
mov eax, dword [ebx + 0x9c]
mov ecx, dword [eax - 0xc]
sub esp, 4
mov byte [eax + ecx], 0x28
mov eax, dword [ebx + 0x9c]
mov ecx, esi
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
mov eax, dword [ebp + 0x10]
mov byte [ebx + 0xa4], 0
mov byte [ebx + 0xa5], 0
mov byte [ebx + 0xa6], 0
mov dword [ebx + 0xa0], eax
movzx eax, byte [esi + 4]
mov byte [ebx + 0xa7], 0
mov dword [ebx + 0xa8], 0
mov byte [ebx + 0x2c], al
mov eax, dword [esi + 0x5c]
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]
movzx eax, word [eax + 4]
shr ax, 6
movzx eax, al
mov dword [ebx + 0x94], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp dword [eax - 4], 0
jg 0x5b530b
jmp 0x5b5321
mov dword [esp], 0x6d356a
call fcn.0064ba80
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x1c]
lea eax, [eax + edx*4]
ret 4