Function at 0x4725b8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472845
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, pe_nt_image_headers32
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x472823
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x48c]
mov dword [ebx + 0x4ac], eax
mov eax, dword [ebx + 0x9b4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47280d
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x47280d
mov eax, dword [ebx + 0x9b4]
mov edx, dword [ebp - 0xc]
call fcn.004622dc
mov esi, eax
mov dword [ebx + 0x418], esi
cmp byte [ebx + 0x3c], 0x1e
jne 0x47266a
movzx ecx, word [esi + 4]
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00462e78
test al, al
jne 0x47266a
call fcn.004036a8
jmp 0x47282a
mov edx, dword [esi + 8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004610e0
cmp byte [esi + 6], 0
je 0x472721
lea eax, [ebx + 0x100]
push eax
push 0
push 0
push 0x1e
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x4b4]
call dword [ebx + 0x4b0]
test eax, eax
lea edi, [ebx + 0x100]
movzx eax, word [edi + 0x1a]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00462690
movzx edx, word [edi + 0x1c]
mov cx, 1
mov eax, dword [ebp - 4]
call fcn.004610e0
mov eax, dword [ebx + 0x9b4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00410b94
push esi
mov esi, eax
lea edi, [ebx + 0x96]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
lea eax, [ebx + 0x96]
mov dx, word [eax + 8]
mov word [ebx + 0x710], dx
movzx edx, word [eax + 0xa]
mov dword [ebx + 0x714], edx
mov edx, dword [eax + 0x14]
mov dword [ebx + 0x718], edx
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x71c], eax
jmp 0x4727b6
lea eax, [ebx + 0xe2]
push eax
push 0
push 0
push 0x1e
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x4b4]
call dword [ebx + 0x4b0]
test eax, eax
lea edi, [ebx + 0xe2]
movzx eax, word [edi + 0x1a]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00462690
movzx edx, word [edi + 0x1c]
mov cx, 1
mov eax, dword [ebp - 4]
call fcn.004610e0
mov eax, dword [ebx + 0x9b4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00410b94
push esi
mov esi, eax
lea edi, [ebx + 0x68]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
lea eax, [ebx + 0x68]
mov dx, word [eax + 8]
mov word [ebx + 0x710], dx
movzx edx, word [eax + 0xa]
mov dword [ebx + 0x714], edx
mov edx, dword [eax + 0x14]
mov dword [ebx + 0x718], edx
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x71c], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00409954
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov dl, byte [ebx + 0x408]
call fcn.00466b7c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x9b8]
call fcn.00403b8c
mov edx, dword [ebx + 0x9b8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov al, byte [esi + 6]
push eax
mov eax, dword [esi]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00471d0c
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x472623
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47282a
mov eax, dword [ebp - 0x10]
call fcn.00402734
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47284c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403b5c
ret