Function at 0x4e7370
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x64]
lea ebx, [edi + 0x128]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 0x20
push dword [edi + 0xbc]
push dword [edi + 0xc0]
push ebp
call fcn.004e8470
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4e7612
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.004b8890
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4e7612
test esi, 0xffffff00
je 0x4e73ea
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x18
ret
and esi, 4
mov dword [esp + 0x24], esi
push ebx
je 0x4e73fb
push 0x5fa048
jmp 0x4e7400
push 0x5fa02c
push ebp
call fcn.004b85c0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4e7612
movzx edx, word [ebx]
movzx eax, word [ebx + 2]
cmp dx, ax
ja 0x4e760d
mov ecx, 0xff
cmp ax, cx
ja 0x4e760d
movzx eax, word [ebx + 4]
movzx ecx, word [ebx + 6]
cmp ax, cx
ja 0x4e760d
mov eax, 0xff
cmp cx, ax
ja 0x4e760d
movzx ecx, word [ebx + 8]
mov ax, cx
movzx ecx, cl
shr ax, 8
movzx eax, ax
mov dword [esp + 0x14], eax
movzx eax, word [ebx + 4]
mov dword [esp + 0x18], ecx
cmp word [esp + 0x14], ax
jb 0x4e7497
movzx ebp, word [ebx + 6]
cmp word [esp + 0x14], bp
mov ebp, dword [esp + 0x2c]
ja 0x4e7497
cmp cx, dx
movzx ecx, word [ebx + 2]
jb 0x4e749b
cmp word [esp + 0x18], cx
jbe 0x4e74b4
jmp 0x4e749b
movzx ecx, word [ebx + 2]
shl eax, 8
add eax, edx
mov word [ebx + 8], ax
movzx eax, word [ebx + 4]
mov edi, eax
mov dword [esp + 0x14], edi
mov edi, edx
mov dword [esp + 0x18], edi
movzx edi, word [ebx + 6]
movzx eax, ax
movzx ecx, cx
sub edi, eax
sub ecx, edx
inc edi
inc ecx
imul edi, ecx
mov dword [esp + 0x1c], edi
lea eax, [edi + edi]
push eax
push ebp
call fcn.004b8040
mov edi, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4e7612
mov edx, dword [esp + 0x14]
movzx eax, word [ebx + 4]
movzx ecx, word [ebx]
movzx edx, dx
sub edx, eax
movzx eax, word [ebx + 2]
sub eax, ecx
inc eax
imul edx, eax
mov eax, dword [esp + 0x18]
movzx eax, ax
sub edx, ecx
add edx, eax
mov eax, dword [ebp + 0x20]
lea eax, [eax + edx*2]
test esi, esi
je 0x4e7520
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
jmp 0x4e7527
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl cx, 8
or cx, ax
mov eax, 0xffff
movzx edx, cx
cmp dx, ax
jne 0x4e7542
mov edx, 1
jmp 0x4e7554
inc edx
mov ecx, 1
movzx eax, dx
cmp eax, dword [edi + 0x120]
cmovae edx, ecx
mov ecx, dword [edi + 0x124]
movzx eax, dx
add eax, eax
movups xmm0, xmmword [ecx + eax*8]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x24]
movups xmmword [ecx], xmm0
push 0
push 2
push dword [esp + 0x34]
call fcn.004ba550
mov edi, eax
add esp, 0x18
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], edi
test eax, eax
jne 0x4e7612
movzx eax, word [ebx + 4]
mov dword [esp + 0x30], eax
cmp ax, word [ebx + 6]
ja 0x4e75f8
movzx esi, word [ebx]
cmp si, word [ebx + 2]
ja 0x4e75ed
nop dword [eax]
cmp dword [esp + 0x24], 0
push ebp
je 0x4e75bf
call fcn.004b8270
jmp 0x4e75c4
call fcn.004b82b0
movzx eax, ax
mov ecx, 0xffff
add esp, 4
cmp ax, cx
jne 0x4e75d8
mov eax, ecx
jmp 0x4e75dc
inc eax
movzx eax, ax
mov word [edi], ax
inc esi
add edi, 2
cmp si, word [ebx + 2]
jbe 0x4e75b0
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp ax, word [ebx + 6]
jbe 0x4e75a0
push ebp
call fcn.004b8110
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret