Function at 0x47338b
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5527f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x473569
mov ax, word [edi + 2]
xor ecx, ecx
mov word [ebp - 0x18], ax
add esi, 0xa
mov al, byte [edi + 4]
mov bh, cl
mov byte [ebp - 0x16], al
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x10], ax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 0x19], bh
jmp 0x473414
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push dword [ebp + 8]
call fcn.00472ab2
test eax, eax
js 0x4734f0
lea eax, [ebp - 0x18]
mov ecx, edi
je 0x4734c7
push dword [ebp - 0x20]
push eax
call fcn.004732da
mov esi, eax
push dword [edi + 0x14]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
lea ecx, [ebp - 0x18]
call fcn.00472c15
mov bl, al
test bl, bl
jne 0x4733e8
mov esi, dword [ebp - 0x20]
mov dword [edi + 0x14], esi
xor edx, edx
test bh, bh
jne 0x473459
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
and dword [ebp - 0xc], edx
mov word [ebp - 0x10], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], eax
call fcn.00472b25
mov edx, eax
mov ax, word [edi + 6]
lea ecx, [ebp - 0x40]
and dword [ebp - 0x34], 0
mov word [ebp - 0x40], ax
mov al, byte [edi + 8]
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
call fcn.00472b25
mov ebx, dword [edi + 0x18]
add eax, edx
mov dword [ebp - 0x24], eax
mov edx, ebx
mov eax, dword [edi + 0x14]
sub edx, eax
cmp eax, ebx
sbb ecx, ecx
and ecx, edx
mov edx, dword [ebp - 0x24]
cmp ecx, edx
jb 0x473569
sub ebx, edx
lea ecx, [edx + esi]
sub ebx, esi
sub eax, esi
je 0x473520
test ecx, ecx
jne 0x473500
call fcn.00520b95
mov dword [eax], 0x16
call fcn.00520a6d
jmp 0x473520
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push eax
call fcn.00473185
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x4734e9
mov al, 1
jmp 0x47356b
mov bh, 1
mov byte [ebp - 0x19], bh
jmp 0x4734f3
mov dword [ebp - 0x20], esi
test bl, bl
jne 0x473432
jmp 0x47342f
test esi, esi
je 0x4734b5
cmp ebx, eax
jae 0x473515
call fcn.00520b95
mov dword [eax], 0x22
jmp 0x4734c0
push eax
push esi
push ecx
call fcn.0052fe70
add esp, 0xc
mov eax, dword [edi + 0x14]
add eax, dword [ebp - 0x24]
cmp byte [ebp - 0x19], 0
mov dword [edi + 0x14], eax
jne 0x47353e
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00472b4f
jmp 0x473551
cmp byte [ebp - 0x16], 0
je 0x473551
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
inc eax
push eax
call fcn.00472adf
push dword [edi + 0x14]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00472b4f
mov byte [edi + 0x20], 1
jmp 0x4734e2
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b1d0
leave
ret 0x14