Function at 0x4713db
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ebx
lea ecx, [ebp + 0x2c]
test edi, edi
jne 0x471411
push dword [ecx]
call fcn.00470f79
add esp, 4
test eax, eax
je 0x47140c
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x471447
mov edi, 0x54923c
push 0x20
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
pop esi
cmp dword [edi + 0x10], ebx
je 0x471430
push dword [edi + 0x10]
call fcn.004bb480
pop ecx
add esi, eax
cmp dword [edi + 0x18], ebx
je 0x471440
push dword [edi + 0x18]
call fcn.004bb480
pop ecx
add esi, eax
mov ecx, dword [esp + 0x10]
add esi, 2
mov eax, dword [ebp + 0xc]
test eax, 0x40000
je 0x4714fa
push dword [ecx]
call fcn.00470f79
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], eax
push ecx
call fcn.00441dec
mov edx, eax
test esi, esi
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
lea ebx, [edx + 0x30]
mov cx, word [eax]
cmove ebx, dword [esp + 0x18]
mov word [edx + 4], cx
mov ecx, dword [eax + 4]
mov dword [edx + 0xc], ecx
mov ecx, eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x14]
xor ecx, ecx
mov dword [edx + 0x20], ecx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x1c], eax
mov ax, word [ecx + 0x18]
mov word [edx + 0x24], ax
xor eax, eax
mov word [edx + 0x26], ax
mov word [edx + 6], ax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4714d3
mov eax, dword [eax + 0x14]
mov ax, word [eax + 6]
mov word [edx + 6], ax
movzx eax, word [ecx + 0x1a]
mov dword [esp + 0x18], eax
mov eax, 0x400
cmp word [esp + 0x18], ax
jae 0x4714eb
movzx eax, word [ecx + 0x1a]
mov word [edx + 0x28], ax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x2c], eax
jmp 0x4715ec
test eax, 0x20000
je 0x47156f
push dword [ecx]
call fcn.00470f79
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], eax
push ecx
call fcn.00441dec
mov edx, eax
test esi, esi
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
lea ebx, [edx + 0x24]
cmove ebx, dword [esp + 0x18]
mov ax, word [ecx]
mov word [edx + 4], ax
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x14]
xor ecx, ecx
mov dword [edx + 0x1c], eax
xor eax, eax
mov word [edx + 6], ax
mov eax, dword [esp + 0x10]
mov dword [edx + 0x20], ecx
test eax, eax
je 0x47156a
mov eax, dword [eax + 0x14]
mov ax, word [eax + 6]
mov word [edx + 6], ax
mov dword [edx + 8], ecx
jmp 0x4715ec
movzx eax, al
mov eax, dword [ebp + eax*4 + 0x28]
cmp eax, 8
jne 0x4715b8
lea eax, [esi + 0x20]
push eax
call fcn.00441dec
mov edx, eax
pop ecx
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx]
mov word [edx + 4], ax
mov eax, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x1c], ebx
lea ebx, [edx + 0x20]
mov dword [edx + 0x18], eax
jmp 0x4715cc
cmp eax, 0x48
jne 0x4715d5
lea eax, [esi + 0xc]
push eax
call fcn.00441dec
mov edx, eax
pop ecx
lea ebx, [edx + 0xc]
test esi, esi
cmove ebx, dword [esp + 0x18]
jmp 0x4715ec
lea eax, [esi + 4]
push eax
call fcn.00441dec
mov ebx, dword [esp + 0x1c]
mov edx, eax
pop ecx
test esi, esi
je 0x4715ec
lea ebx, [edx + 4]
mov dword [ebp + 0x14], edx
test esi, esi
je 0x47163d
mov esi, edi
mov edi, ebx
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
lea esi, [ebx + 0x20]
mov byte [esi], 0
mov dword [ebx + 0x10], esi
cmp dword [edi + 0x10], 0
je 0x471625
push dword [edi + 0x10]
push esi
call fcn.004bd2c0
push dword [edi + 0x10]
call fcn.004bb480
add esp, 0xc
add esi, eax
inc esi
mov byte [esi], 0
mov dword [ebx + 0x18], esi
cmp dword [edi + 0x18], 0
je 0x47163d
push dword [edi + 0x18]
push esi
call fcn.004bd2c0
pop ecx
pop ecx
mov eax, dword [ebp + 0x14]
xor esi, esi
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], esi
je 0x471664
push dword [0x790250]
push ebp
call fcn.00471758
pop ecx
pop ecx
test al, 0x30
jne 0x471664
mov esi, 0x80000
mov eax, dword [ebp + 0xc]
and eax, 0xfff7ffff
or eax, esi
push 1
push ebp
mov dword [ebp + 0xc], eax
call fcn.00441383
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret