Function at 0x4763f9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
call fcn.004760f6
mov edi, dword [ebp + 8]
mov esi, eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0047606c
jmp 0x47641c
test eax, eax
je 0x476428
dec eax
cmp byte [eax + edi], 0x5c
jne 0x476418
test eax, eax
je 0x476428
inc eax
lea ebx, [eax + edi]
mov eax, ebx
call fcn.0047607a
cmp dword [esi], 0
mov byte [ebp + 0xb], 0
je 0x47646c
cmp byte [ebp + 0xb], 0
jne 0x476477
lea edx, [esi + 0x10]
mov eax, ebx
call fcn.00476099
test eax, eax
jne 0x476455
mov byte [ebp + 0xb], 1
jmp 0x476461
mov eax, dword [esi + 0xc]
lea eax, [esi + eax + 0x11]
mov dword [ebp - 4], eax
mov esi, eax
cmp dword [esi], 0
jne 0x47643b
cmp byte [ebp + 0xb], 0
jne 0x476477
push edi
call fcn.0047618d
jmp 0x47667d
mov eax, dword [esi + 4]
test eax, eax
jne 0x47667d
mov ebx, dword [esi + 8]
mov eax, dword [ebx + 0x3c]
lea esi, [eax + ebx]
movzx ecx, word [esi + 0x14]
push 0x40
push 0x2000
push dword [esi + 0x50]
add ecx, eax
push dword [esi + 0x34]
lea eax, [ecx + ebx + 0x18]
mov dword [ebp + 8], eax
call fcn.00476172
mov edi, eax
test edi, edi
jne 0x4764cd
push 0x40
push 0x2000
push dword [esi + 0x50]
push eax
call fcn.00476172
mov edi, eax
test edi, edi
jne 0x4764cd
xor eax, eax
jmp 0x47667d
movzx eax, word [esi + 6]
imul eax, eax, 0x28
push 0x40
sub eax, ebx
add eax, dword [ebp + 8]
push 0x1000
push eax
push edi
call fcn.00476172
movzx eax, word [esi + 6]
mov ecx, dword [esi + 0x3c]
imul eax, eax, 0x28
mov dword [ebp - 0xc], eax
sub eax, ebx
add eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x476503
mov edx, ecx
mov eax, dword [ebp - 4]
sub ecx, edx
sub ecx, ebx
add ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
add ecx, ebx
push ecx
push dword [eax + 8]
push edi
call fcn.0047604c
and dword [ebp + 8], 0
cmp word [esi + 6], 0
jbe 0x476579
add ebx, 0x10
mov eax, dword [ebx - 4]
push 0x40
push 0x1000
push dword [ebx - 8]
add eax, edi
push eax
call fcn.00476172
mov eax, dword [ebx]
mov ecx, dword [esi + 0x3c]
xor edx, edx
div ecx
test edx, edx
jne 0x47654e
mov edx, ecx
mov eax, dword [ebx]
sub eax, edx
add eax, ecx
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [ebx + 4]
add eax, dword [ecx + 8]
push eax
mov eax, dword [ebx - 4]
add eax, edi
push eax
call fcn.0047604c
movzx eax, word [esi + 6]
inc dword [ebp + 8]
add ebx, 0x28
cmp dword [ebp + 8], eax
jl 0x47652a
mov eax, dword [esi + 0x80]
add eax, edi
add eax, 0xc
cmp dword [eax], 0
je 0x4765f3
mov ebx, eax
mov eax, dword [ebx]
add eax, edi
push eax
call fcn.004763f9
mov ecx, dword [ebx + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [edi + ecx], eax
mov dword [ebp - 8], eax
je 0x4765eb
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
add eax, dword [ebp + 8]
lea ecx, [eax + edi]
mov eax, dword [ecx]
test eax, eax
jns 0x4765be
and eax, 0xffff
jmp 0x4765c2
lea eax, [eax + edi + 2]
push eax
push dword [ebp - 0xc]
call fcn.004761db
mov ecx, dword [ebx + 4]
add ecx, dword [ebp + 8]
inc dword [ebp - 8]
mov dword [ecx + edi], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 4]
shl eax, 2
add ecx, eax
cmp dword [ecx + edi], 0
mov dword [ebp + 8], eax
jne 0x4765a8
add ebx, 0x14
cmp dword [ebx], 0
jne 0x47658b
mov edx, dword [esi + 0x34]
cmp edi, edx
je 0x476658
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4764c6
mov ecx, edi
add eax, edi
sub ecx, edx
jmp 0x47664f
mov edx, dword [eax + 4]
lea ebx, [edx - 8]
shr ebx, 1
mov dword [ebp - 0x10], edx
je 0x47664d
lea edx, [eax + 8]
mov dword [ebp + 8], edx
mov dword [ebp - 0xc], ebx
test word [edx], 0xf000
je 0x476640
movzx edx, word [edx]
and edx, 0xfff
add edx, dword [ebp - 8]
add edx, edi
add dword [edx], ecx
mov edx, dword [ebp + 8]
inc edx
inc edx
dec dword [ebp - 0xc]
mov dword [ebp + 8], edx
jne 0x476626
mov edx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [eax]
test edx, edx
mov dword [ebp - 8], edx
jne 0x476610
mov ebx, dword [ebp - 4]
mov dword [ebx + 4], edi
mov esi, dword [esi + 0x28]
test esi, esi
je 0x47667b
push 0
push 1
add esi, edi
push edi
call esi
test al, al
jne 0x47667b
and dword [ebx + 4], 0
jmp 0x4764c6
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4