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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403b20
mov eax, dword [0x67bd78]
xor edi, edi
test eax, eax
je 0x4d914c
lea esp, [esp]
mov edi, eax
mov eax, dword [eax + 0x80]
test eax, eax
jne 0x4d9140
push 0x84
push 1
call fcn.004bc430
mov esi, eax
add esp, 8
test esi, esi
je 0x4d9184
mov ebx, dword [ebp + 8]
mov dword [esi], 0x67bd7c
push dword [ebx]
call fcn.00488110
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4d918d
push esi
call fcn.004bc470
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x6c], 1
movzx eax, word [ebx + 4]
mov word [esi + 0x14], ax
movzx eax, word [ebx + 6]
mov word [esi + 0x16], ax
movzx eax, word [ebx + 0xc]
mov word [esi + 0x18], ax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x3c], eax
movzx eax, word [ebx + 0x18]
mov word [esi + 0x40], ax
movzx eax, word [ebx + 0x1a]
mov word [esi + 0x42], ax
call fcn.004b0520
mov dword [esi + 0x58], eax
push dword [ebx + 8]
call fcn.004d9400
push dword [ebx + 0x10]
mov dword [ebp - 4], eax
call fcn.004d9400
mov dword [esi + 8], eax
push dword [ebx + 0x14]
call fcn.004d9400
push eax
push dword [esi + 8]
mov dword [esi + 0xc], eax
movzx eax, word [esi + 0x16]
push eax
movzx eax, word [esi + 0x14]
push eax
call fcn.004a3750
mov dword [esi + 4], eax
add esp, 0x1c
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d9227
cmp byte [eax], 0
je 0x4d9227
mov dword [esi + 0x1c], eax
jmp 0x4d9230
push eax
call fcn.004bc470
add esp, 4
cmp dword [esi + 4], 0
mov eax, dword [esi + 8]
jne 0x4d9269
push eax
call fcn.004bc470
push dword [esi + 0xc]
call fcn.004bc470
push dword [esi + 0x1c]
call fcn.004bc470
push dword [esi + 0x10]
call fcn.004bc470
push esi
call fcn.004bc470
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x68
push dword [esi + 0xc]
push eax
movzx eax, word [esi + 0x18]
push eax
movzx eax, word [esi + 0x16]
push eax
movzx eax, word [esi + 0x14]
push eax
lea eax, [ebp - 0x14]
push 3
push eax
call fcn.004a3640
push dword [esi + 0x3c]
push dword [esi + 0x38]
mov ecx, dword [eax]
push dword [esi + 0x34]
mov dword [esi + 0x20], ecx
mov ecx, dword [eax + 4]
push dword [esi + 0x30]
mov dword [esi + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x28], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x2c], eax
movzx eax, word [esi + 0x16]
push eax
movzx eax, word [esi + 0x14]
push eax
push dword [esi + 4]
mov dword [esi + 0x48], 1
call fcn.004da3c0
mov ebx, dword [ebp + 0xc]
add esp, 0x40
mov dword [esi + 0x4c], eax
test ebx, ebx
jle 0x4d92eb
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], edx
nop
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [eax + 0x74], esi
cmp ecx, ebx
jl 0x4d92e0
test edi, edi
je 0x4d92f7
mov dword [edi + 0x80], esi
jmp 0x4d92fd
mov dword [0x67bd78], esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.004d9fc0
add esp, 8
cmp dword [ebp - 4], 0
jne 0x4d9184
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret