Function at 0x4e38a8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e3e46
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4b8]
call fcn.004d9b38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, pe_nt_image_headers32
call fcn.00402f14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 0xc0
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x4e3e24
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0x1e
jne 0x4e3961
mov eax, dword [ebp - 4]
test byte [eax + 0x328], 1
jne 0x4e3941
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004dac28
test al, al
jne 0x4e3941
call fcn.0040429c
jmp 0x4e3e2b
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
inc ecx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004da928
test al, al
jne 0x4e3961
call fcn.0040429c
jmp 0x4e3e2b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004d8fe4
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 6]
inc eax
mov edx, dword [ebp - 0x18]
movsx edx, word [edx + 4]
inc edx
sub edx, eax
jl 0x4e3df4
inc edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, 0x58
push eax
push 0
push 0
push 0x2e
push 0
mov edx, dword [esi]
mov ebx, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebx + 0x4b4]
call dword [ebx + 0x4b0]
mov eax, dword [ebp - 4]
test word [eax + 0x60], 0x40
seta al
mov edx, dword [ebp - 4]
mov byte [edx + 0x9dc], al
test al, al
je 0x4e3bb5
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004d8fe4
mov eax, dword [ebp - 4]
add eax, 0x8c
push eax
push 0
push 0
push 0x2e
push 0
mov edx, dword [esi]
mov ebx, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebx + 0x4b4]
call dword [ebx + 0x4b0]
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x8c]
jmp 0x4e3ba4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
jne 0x4e3db2
movzx eax, word [ebx + 0x1c]
push eax
mov edx, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004da218
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040b424
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x418]
call fcn.004dcd0c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x9cc
call fcn.004048e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9cc], 0
je 0x4e3b55
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x9cc]
mov eax, dword [ebp - 4]
call fcn.004db2b8
test al, al
je 0x4e3b55
mov eax, dword [ebp - 4]
add eax, 0x9b8
mov byte [eax + 6], 1
mov dx, word [ebx + 0x22]
inc edx
mov word [eax + 4], dx
mov edx, dword [ebx + 0x2a]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x26]
mov dword [eax], edx
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0x1e
je 0x4e3af7
mov edx, dword [ebx + 0x2a]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004d8fe4
push ebx
push 0
push 0
push 4
push 0
mov edx, dword [esi]
mov edi, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [edi + 0x4b4]
call dword [edi + 0x4b0]
cmp dword [ebx], 0x4034b50
setne byte [ebp - 5]
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004d8fe4
cmp byte [ebp - 5], 0
jne 0x4e3b55
mov eax, dword [ebp - 4]
lea edx, [eax + 0x9b8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9b4]
call fcn.004d9f84
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x408]
jle 0x4e3b2b
mov edx, dword [ebp - 4]
mov dword [edx + 0x408], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 4]
add dword [edx + 0x488], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 4]
add dword [edx + 0x48c], eax
test word [ebx + 8], 1
jbe 0x4e3b55
mov eax, dword [ebp - 4]
sub dword [eax + 0x488], 0xc
movzx eax, word [ebx + 0x1c]
add eax, 0x2e
movzx edx, word [ebx + 0x20]
add eax, edx
movzx edx, word [ebx + 0x1e]
add eax, edx
add dword [ebp - 0x10], eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004d8fe4
mov eax, dword [ebp - 4]
add eax, 0x8c
push eax
push 0
push 0
push 0x2e
push 0
mov edx, dword [esi]
mov edi, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [edi + 0x4b4]
call dword [edi + 0x4b0]
cmp eax, 0x2e
je 0x4e3ba4
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0x2014b50
je 0x4e3a12
jmp 0x4e3db2
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x58]
jmp 0x4e3da6
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
jne 0x4e3db2
movzx eax, word [ebx + 0x1c]
push eax
mov edx, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004da218
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040b424
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x418]
call fcn.004dcd0c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x9cc
call fcn.004048e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9cc], 0
je 0x4e3d4d
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x9cc]
mov eax, dword [ebp - 4]
call fcn.004db2b8
test al, al
je 0x4e3d4d
mov eax, dword [ebp - 4]
add eax, 0x9b8
mov byte [eax + 6], 0
mov dx, word [ebx + 0x22]
inc edx
mov word [eax + 4], dx
mov edx, dword [ebx + 0x2a]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x26]
mov dword [eax], edx
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0x1e
je 0x4e3cef
mov edx, dword [ebx + 0x2a]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004d8fe4
mov eax, dword [ebp - 4]
add eax, 0xdc
push eax
push 0
push 0
push 0x1e
push 0
mov edx, dword [esi]
mov edi, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [edi + 0x4b4]
call dword [edi + 0x4b0]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xdc], 0x4034b50
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x4e3ce3
mov eax, dword [ebp - 4]
cmp dword [eax + 0xee], 0
jne 0x4e3cd8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
jbe 0x4e3cd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9d8], eax
jmp 0x4e3ce3
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x9d8], edx
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004d8fe4
cmp byte [ebp - 5], 0
jne 0x4e3d4d
mov eax, dword [ebp - 4]
lea edx, [eax + 0x9b8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9b4]
call fcn.004d9f84
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x408]
jle 0x4e3d23
mov edx, dword [ebp - 4]
mov dword [edx + 0x408], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 4]
add dword [edx + 0x488], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 4]
add dword [edx + 0x48c], eax
test word [ebx + 8], 1
jbe 0x4e3d4d
mov eax, dword [ebp - 4]
sub dword [eax + 0x488], 0xc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
jne 0x4e3db2
movzx eax, word [ebx + 0x1c]
add eax, 0x2e
movzx edx, word [ebx + 0x20]
add eax, edx
movzx edx, word [ebx + 0x1e]
add eax, edx
add dword [ebp - 0x10], eax
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004d8fe4
mov eax, dword [ebp - 4]
add eax, 0x58
push eax
push 0
push 0
push 0x2e
push 0
mov edx, dword [esi]
mov edi, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [edi + 0x4b4]
call dword [edi + 0x4b0]
cmp eax, 0x2e
je 0x4e3da6
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0x2014b50
je 0x4e3bc0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0x1e
jne 0x4e3de8
mov eax, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x18]
movsx edx, word [edx + 4]
cmp eax, edx
jge 0x4e3de8
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
add ecx, dword [ebp - 0x14]
inc ecx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004da928
test al, al
je 0x4e3df4
xor eax, eax
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x4e3995
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3e2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9b4]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.00402f2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4b8]
call fcn.004d9b4c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3e4d
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.004048b8
ret