Function at 0x47b3f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0x18]
mov dword [esp + 0x10], esi
mov ebp, dword [esi + 4]
mov ebx, dword [esi]
test ebp, ebp
jne 0x47b41f
push edi
call dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x47b66e
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
xor eax, eax
dec ebp
mov ah, byte [ebx]
inc ebx
test ebp, ebp
mov dword [esp + 0x28], eax
jne 0x47b445
push edi
call dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x47b66e
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov eax, dword [esp + 0x28]
xor ecx, ecx
dec ebp
mov cl, byte [ebx]
add eax, ecx
inc ebx
sub eax, 2
test eax, eax
mov dword [esp + 0x28], eax
jle 0x47b649
test ebp, ebp
jne 0x47b474
push edi
call dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x47b66e
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov ecx, dword [edi]
xor edx, edx
mov dl, byte [ebx]
push 1
mov esi, edx
mov dword [ecx + 0x14], 0x51
mov edx, dword [edi]
mov eax, esi
and esi, 0xf
dec ebp
mov dword [edx + 0x18], esi
mov ecx, dword [edi]
sar eax, 4
mov dword [ecx + 0x1c], eax
mov edx, dword [edi]
push edi
inc ebx
mov dword [esp + 0x24], eax
call dword [edx + 4]
add esp, 8
cmp esi, 4
jl 0x47b4c1
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x1f
mov ecx, dword [edi]
mov dword [ecx + 0x18], esi
mov edx, dword [edi]
call dword [edx]
add esp, 4
mov eax, dword [edi + esi*4 + 0xa4]
test eax, eax
jne 0x47b4dc
push edi
call fcn.0048a460
add esp, 4
mov dword [edi + esi*4 + 0xa4], eax
mov eax, dword [edi + esi*4 + 0xa4]
mov esi, 0x4ee608
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47b552
test ebp, ebp
jne 0x47b516
mov esi, dword [esp + 0x10]
push edi
call dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x47b66e
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
jmp 0x47b51a
mov esi, dword [esp + 0x10]
xor ecx, ecx
dec ebp
mov ch, byte [ebx]
inc ebx
test ebp, ebp
mov dword [esp + 0x14], ecx
jne 0x47b53c
push edi
call dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x47b66e
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
xor edx, edx
dec ebp
mov dl, byte [ebx]
add ecx, edx
inc ebx
mov dword [esp + 0x14], ecx
jmp 0x47b579
test ebp, ebp
jne 0x47b56f
mov ebp, dword [esp + 0x10]
push edi
call dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x47b66e
mov ebx, dword [ebp]
mov ebp, dword [ebp + 4]
xor eax, eax
dec ebp
mov al, byte [ebx]
inc ebx
mov dword [esp + 0x14], eax
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
mov dx, word [esp + 0x14]
add esi, 4
cmp esi, 0x4ee708
mov word [eax + ecx*2], dx
mov dword [esp + 0x18], esi
jl 0x47b4f0
mov ecx, dword [edi]
cmp dword [ecx + 0x68], 2
jl 0x47b61b
lea esi, [eax + 4]
mov dword [esp + 0x18], 8
mov eax, dword [edi]
xor edx, edx
mov dx, word [esi - 4]
add eax, 0x18
xor ecx, ecx
push 2
mov dword [eax], edx
mov cx, word [esi - 2]
xor edx, edx
mov dword [eax + 4], ecx
mov dx, word [esi]
xor ecx, ecx
mov dword [eax + 8], edx
mov cx, word [esi + 2]
xor edx, edx
mov dword [eax + 0xc], ecx
mov dx, word [esi + 4]
xor ecx, ecx
mov dword [eax + 0x10], edx
mov cx, word [esi + 6]
xor edx, edx
mov dword [eax + 0x14], ecx
mov dx, word [esi + 8]
xor ecx, ecx
mov dword [eax + 0x18], edx
mov cx, word [esi + 0xa]
mov dword [eax + 0x1c], ecx
mov edx, dword [edi]
push edi
mov dword [edx + 0x14], 0x5d
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [esp + 0x20]
add esp, 8
add esi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x47b5ae
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub ecx, 0x41
test eax, eax
mov dword [esp + 0x28], ecx
je 0x47b637
mov eax, ecx
sub eax, 0x40
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
test eax, eax
jg 0x47b45c
test eax, eax
je 0x47b65c
mov ecx, dword [edi]
push edi
mov dword [ecx + 0x14], 0xb
mov edx, dword [edi]
call dword [edx]
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret