Function at 0x472d60
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 0x4732c0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4b8]
call fcn.00461e60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, pe_nt_image_headers32
call fcn.0040271c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 0xcc
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x47329e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0x1e
jne 0x472e19
mov eax, dword [ebp - 4]
test byte [eax + 0x31e], 1
jne 0x472df9
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004631d8
test al, al
jne 0x472df9
call fcn.004036a8
jmp 0x4732a5
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
inc ecx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00462e78
test al, al
jne 0x472e19
call fcn.004036a8
jmp 0x4732a5
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.004610e0
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 0x47326e
inc edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, 0x68
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 + 0x70], 0x40
seta al
test al, al
je 0x473072
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004610e0
mov eax, dword [ebp - 4]
add eax, 0x96
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 + 0x96]
jmp 0x473061
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x47322c
movzx eax, word [ebx + 0x1c]
push eax
mov edx, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00462690
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00409954
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x408]
call fcn.00466b7c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x9b8
call fcn.00403b8c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9b8], 0
je 0x473012
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x9b8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x473012
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x418]
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 + 0x3c], 0x1e
je 0x472fa7
mov edx, dword [ebx + 0x2a]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004610e0
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.004610e0
cmp byte [ebp - 5], 0
jne 0x473012
push 0x2e
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x96]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x418]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9b4]
call fcn.004622f0
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3f8]
jle 0x472fe8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], 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 0x473012
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.004610e0
mov eax, dword [ebp - 4]
add eax, 0x96
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 0x473061
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0x2014b50
je 0x472ec1
jmp 0x47322c
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x68]
jmp 0x473220
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x47322c
movzx eax, word [ebx + 0x1c]
push eax
mov edx, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00462690
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00409954
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x408]
call fcn.00466b7c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x9b8
call fcn.00403b8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x9b8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
test al, al
je 0x4731c7
mov eax, dword [ebp - 4]
add eax, 0x40c
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 + 0x3c], 0x1e
je 0x473161
mov edx, dword [ebx + 0x2a]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004610e0
mov eax, dword [ebp - 4]
add eax, 0xe2
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 + 0xe2], 0x4034b50
setne byte [ebp - 5]
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004610e0
cmp byte [ebp - 5], 0
jne 0x4731c7
push 0x2e
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x68]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x40c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9b4]
call fcn.004622f0
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3f8]
jle 0x47319d
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], 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 0x4731c7
mov eax, dword [ebp - 4]
sub dword [eax + 0x488], 0xc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x47322c
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.004610e0
mov eax, dword [ebp - 4]
add eax, 0x68
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 0x473220
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0x2014b50
je 0x47307d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0x1e
jne 0x473262
mov eax, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x18]
movsx edx, word [edx + 4]
cmp eax, edx
jge 0x473262
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.00462e78
test al, al
je 0x47326e
xor eax, eax
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x472e4d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4732a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9b4]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.00402734
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4b8]
call fcn.00461e74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4732c7
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00403b5c
ret