Function at 0x4e4950
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x30], ebx
mov esi, dword [ebx + 4]
lea edx, [ebx + 0xc]
test esi, esi
jne 0x4e4982
mov eax, dword [edx]
push ebp
call eax
add esp, 4
test al, al
je 0x4e4cd8
mov esi, dword [ebx + 4]
lea edx, [ebx + 0xc]
mov eax, ebx
mov eax, dword [eax]
movzx ecx, byte [eax]
lea edi, [eax + 1]
shl ecx, 8
mov dword [esp + 0x1c], ecx
sub esi, 1
jne 0x4e49b1
mov eax, dword [edx]
push ebp
call eax
add esp, 4
test al, al
je 0x4e4cd8
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [edi]
sub ecx, 2
add ecx, eax
dec esi
inc edi
test ecx, ecx
jle 0x4e4cb2
dec ecx
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x4e49e2
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4e4cd8
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov eax, dword [ebp]
dec esi
movzx ecx, byte [edi]
inc edi
mov edx, ecx
mov dword [esp + 0x2c], edi
and ecx, 0xf
shr edx, 4
mov dword [eax + 0x14], 0x53
mov eax, dword [ebp]
push 1
push ebp
mov dword [esp + 0x2c], edx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov dword [esp + 0x28], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
cmp ecx, 4
jb 0x4e4a47
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0x20
mov eax, dword [ebp]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x24]
add esp, 4
lea ecx, [ecx + 0x24]
lea eax, [ecx*4]
mov ecx, dword [eax + ebp]
add eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x4e4a77
push ebp
call fcn.004f42c0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [eax], ecx
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
je 0x4e4a9e
cmp eax, 0x80
jge 0x4e4a93
mov edx, eax
sar edx, 1
mov dword [esp + 0x20], edx
jmp 0x4e4aad
mov edx, 0x40
mov dword [esp + 0x20], edx
jmp 0x4e4ad3
cmp eax, 0x40
jge 0x4e4b49
mov edx, eax
mov dword [esp + 0x20], eax
movaps xmm0, xmmword [0x571d30]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x30], xmm0
movups xmmword [ecx + 0x40], xmm0
movups xmmword [ecx + 0x50], xmm0
movups xmmword [ecx + 0x60], xmm0
movups xmmword [ecx + 0x70], xmm0
lea eax, [edx - 4]
cmp eax, 0x2d
ja case.0x4e4ae2.5
movzx eax, byte [eax + 0x4e4d00]
jmp dword [eax*4 + 0x4e4ce4]
xor eax, eax
mov dword [esp + 0x18], 0x577398
mov dword [esp + 0x14], eax
jmp 0x4e4b68
xor eax, eax
mov dword [esp + 0x18], 0x577330
mov dword [esp + 0x14], eax
jmp 0x4e4b68
xor eax, eax
mov dword [esp + 0x18], 0x5772b0
mov dword [esp + 0x14], eax
jmp 0x4e4b68
xor eax, eax
mov dword [esp + 0x18], 0x577208
mov dword [esp + 0x14], eax
jmp 0x4e4b68
xor eax, eax
mov dword [esp + 0x18], 0x577138
mov dword [esp + 0x14], eax
jmp 0x4e4b68
xor eax, eax
mov dword [esp + 0x18], 0x577030
mov dword [esp + 0x14], eax
jmp 0x4e4b68
mov edx, 0x40
mov dword [esp + 0x20], edx
xor eax, eax
mov dword [esp + 0x18], 0x576ef0
mov dword [esp + 0x14], eax
test edx, edx
jle 0x4e4c17
cmp dword [esp + 0x24], 0
je 0x4e4bc6
test esi, esi
jne 0x4e4b89
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4e4cd8
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov al, byte [edi]
inc edi
mov byte [esp + 0x13], al
sub esi, 1
jne 0x4e4baf
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4e4cd8
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov al, byte [esp + 0x13]
movzx ecx, al
dec esi
mov eax, 0x100
imul ecx, eax
movzx eax, byte [edi]
add cx, ax
movzx eax, cx
jmp 0x4e4be4
test esi, esi
jne 0x4e4be0
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4e4cd8
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
movzx eax, byte [edi]
dec esi
mov edx, dword [esp + 0x14]
inc edi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov eax, dword [eax + edx*4]
inc edx
mov dword [esp + 0x14], edx
mov word [ecx + eax*2], bp
mov ebp, dword [esp + 0x38]
cmp edx, dword [esp + 0x20]
jl 0x4e4b68
mov eax, dword [ebp]
cmp dword [eax + 0x68], 2
jl 0x4e4c92
lea ebx, [ecx + 4]
mov edi, 8
nop dword [eax + eax]
mov ecx, dword [ebp]
movzx eax, word [ebx - 4]
push 2
push ebp
mov dword [ecx + 0x18], eax
movzx eax, word [ebx - 2]
mov dword [ecx + 0x1c], eax
movzx eax, word [ebx]
mov dword [ecx + 0x20], eax
movzx eax, word [ebx + 2]
mov dword [ecx + 0x24], eax
movzx eax, word [ebx + 4]
mov dword [ecx + 0x28], eax
movzx eax, word [ebx + 6]
mov dword [ecx + 0x2c], eax
movzx eax, word [ebx + 8]
mov dword [ecx + 0x30], eax
movzx eax, word [ebx + 0xa]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x5f
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
add esp, 8
lea ebx, [ebx + 0x10]
sub edi, 1
jne 0x4e4c30
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x20]
mov eax, ecx
sub ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0
cmove ecx, eax
test ecx, ecx
jg 0x4e49c3
test ecx, ecx
je 0x4e4cc9
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0xc
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebx], edi
mov al, 1
pop edi
mov dword [ebx + 4], esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret