Function at 0x77a4d3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
dec dword [ebp + 0x10]
push edi
mov edi, dword [esi]
mov edx, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
cmp eax, 5
jg 0x77a913
je 0x77a7a1
test eax, eax
js 0x77a534
cmp eax, 2
jle 0x77a681
cmp eax, 3
je 0x77a571
cmp eax, 4
je 0x77a92e
cmp dword [ebp + 0x10], 0
jne 0x77ada6
cmp ebx, edi
jge 0x77adf8
mov eax, 0x3ff
add ecx, 0x1c
sub eax, ebx
mov dword [esp + 0x28], ecx
sub edi, ebx
lea esi, [esi + eax*4]
push dword [esi]
call fcn.0077ea70
mov ecx, dword [esp + 0x28]
lea esi, [esi - 4]
sub edi, 1
jne 0x77a559
jmp 0x77adf8
mov eax, dword [ecx]
test eax, eax
je 0x77a5a8
mov al, byte [eax]
test edi, edi
jle 0x77a5a8
mov edi, dword [esp + 0x20]
mov ch, al
lea eax, [edx + ebx]
sar eax, 1
mov cl, byte [esi + eax + 8]
cmp ch, cl
jg 0x77a59a
jne 0x77a596
test edi, edi
je 0x77a59a
mov edx, eax
jmp 0x77a59d
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77a583
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77a534
cmp dword [ebp + 0x10], 0
mov dl, byte [eax]
mov byte [esp + 0xf], dl
jne 0x77a610
cmp ebx, edi
jge 0x77adf8
mov eax, 0x3ff
sub eax, ebx
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
mov dh, byte [esi + ebx + 8]
cmp dh, dl
jg 0x77ae01
jne 0x77a5ea
cmp dword [esp + 0x18], 0
je 0x77ae01
push dword [eax]
add ecx, 0x1c
call fcn.0077ea70
mov eax, dword [esp + 0x14]
inc ebx
mov ecx, dword [ebp + 0xc]
sub eax, 4
mov dl, byte [esp + 0xf]
mov dword [esp + 0x14], eax
cmp ebx, edi
jl 0x77a5d1
jmp 0x77adf8
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [esp + 0x10], eax
mov eax, 0x3ff
sub eax, ebx
lea ecx, [esi + eax*4]
mov dword [esp + 0x18], ecx
push dword [ecx]
mov ecx, edx
call fcn.007766a3
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x18], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x10]
push dword [esp + 0x14]
test al, al
je 0x77adfc
call fcn.007797a0
cmp ebx, edi
je 0x77adf8
mov ecx, dword [esp + 0x18]
mov al, byte [ebx + esi + 8]
sub ecx, 4
inc ebx
mov dword [esp + 0x18], ecx
cmp al, byte [esp + 0xf]
jg 0x77ae01
mov edx, dword [ebp + 8]
jmp 0x77a628
mov eax, dword [ecx]
test eax, eax
je 0x77a6b1
mov eax, dword [eax]
test edi, edi
jle 0x77a6b1
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [esi + eax*4 + 8]
ja 0x77a6a6
jne 0x77a6a2
cmp dword [ecx + 8], 0
je 0x77a6a6
mov edx, eax
jmp 0x77a6a9
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77a68f
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77a534
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jne 0x77a722
cmp ebx, edi
jge 0x77adf8
mov eax, 0x3ff
lea edx, [esi + 8]
sub eax, ebx
lea edx, [edx + ebx*4]
mov dword [esp + 0x14], edx
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x10]
cmp dword [edx], eax
ja 0x77ae01
jne 0x77a6fd
cmp dword [esp + 0x18], 0
je 0x77ae01
push dword [esi]
add ecx, 0x1c
call fcn.0077ea70
mov edx, dword [esp + 0x14]
inc ebx
mov ecx, dword [ebp + 0xc]
add edx, 4
sub esi, 4
mov dword [esp + 0x14], edx
cmp ebx, edi
jl 0x77a6e4
jmp 0x77adf8
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esi + 8]
lea eax, [eax + ebx*4]
mov dword [esp + 0x18], eax
mov eax, 0x3ff
sub eax, ebx
lea ecx, [esi + eax*4]
mov dword [esp + 0x14], ecx
push dword [ecx]
mov ecx, edx
call fcn.007766a3
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x1c]
push esi
test al, al
je 0x77adfc
call fcn.007797a0
cmp ebx, edi
je 0x77adf8
mov ecx, dword [esp + 0x18]
inc ebx
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
sub ecx, 4
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x10]
ja 0x77ae01
mov edx, dword [ebp + 8]
jmp 0x77a744
mov eax, dword [ecx]
test eax, eax
je 0x77a802
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x77a802
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + ebx]
sar eax, 1
cmp ecx, dword [esi + eax*8 + 0xc]
mov ecx, dword [ebp + 0xc]
jg 0x77a7f7
jl 0x77a7d9
cmp edi, dword [esi + eax*8 + 8]
ja 0x77a7f7
cmp edi, dword [esi + eax*8 + 8]
jne 0x77a7f3
mov edi, dword [esp + 0x1c]
cmp edi, dword [esi + eax*8 + 0xc]
mov edi, dword [esp + 0x10]
jne 0x77a7f3
cmp dword [ecx + 8], 0
je 0x77a7f7
mov edx, eax
jmp 0x77a7fa
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77a7bf
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77a534
cmp dword [ebp + 0x10], 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x77a894
cmp ebx, edi
jge 0x77adf8
mov eax, 0x3ff
lea edx, [esi + 8]
sub eax, ebx
lea edx, [edx + ebx*8]
mov dword [esp + 0x1c], edx
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x14]
cmp dword [edx + 4], eax
jg 0x77ae01
mov eax, dword [esp + 0x10]
jl 0x77a857
cmp dword [edx], eax
ja 0x77ae01
cmp dword [edx], eax
jne 0x77a86f
mov eax, dword [esp + 0x14]
cmp dword [edx + 4], eax
jne 0x77a86f
cmp dword [esp + 0x18], 0
je 0x77ae01
push dword [esi]
add ecx, 0x1c
call fcn.0077ea70
mov edx, dword [esp + 0x1c]
inc ebx
mov ecx, dword [ebp + 0xc]
add edx, 8
sub esi, 4
mov dword [esp + 0x1c], edx
cmp ebx, edi
jl 0x77a83c
jmp 0x77adf8
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x60]
mov dword [esp + 0x20], eax
mov eax, 0x3ff
sub eax, ebx
lea edx, [esi + eax*4]
mov dword [esp + 0x1c], edx
push dword [edx]
call fcn.007766a3
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x1c], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x20]
push dword [esp + 0x18]
test al, al
je 0x77adfc
call fcn.007797a0
cmp ebx, edi
je 0x77adf8
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + ebx*8 + 0xc]
sub edx, 4
mov ecx, dword [esi + ebx*8 + 8]
inc ebx
mov dword [esp + 0x1c], edx
cmp eax, dword [esp + 0x14]
jg 0x77ae01
jl 0x77a90e
cmp ecx, dword [esp + 0x10]
ja 0x77ae01
mov ecx, dword [ebp + 8]
jmp 0x77a8ac
sub eax, 6
je 0x77ac6b
sub eax, 1
je 0x77aa4e
sub eax, 3
jne 0x77a534
mov eax, dword [ecx]
test eax, eax
je 0x77a95e
mov eax, dword [eax]
test edi, edi
jle 0x77a95e
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [esi + eax*4 + 8]
jg 0x77a953
jne 0x77a94f
cmp dword [ecx + 8], 0
je 0x77a953
mov edx, eax
jmp 0x77a956
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77a93c
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77a534
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jne 0x77a9cf
cmp ebx, edi
jge 0x77adf8
mov eax, 0x3ff
lea edx, [esi + 8]
sub eax, ebx
lea edx, [edx + ebx*4]
mov dword [esp + 0x20], edx
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x14]
cmp dword [edx], eax
jg 0x77ae01
jne 0x77a9aa
cmp dword [esp + 0x18], 0
je 0x77ae01
push dword [esi]
add ecx, 0x1c
call fcn.0077ea70
mov edx, dword [esp + 0x20]
inc ebx
mov ecx, dword [ebp + 0xc]
add edx, 4
sub esi, 4
mov dword [esp + 0x20], edx
cmp ebx, edi
jl 0x77a991
jmp 0x77adf8
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [esp + 0x18], eax
lea eax, [esi + 8]
lea eax, [eax + ebx*4]
mov dword [esp + 0x20], eax
mov eax, 0x3ff
sub eax, ebx
lea ecx, [esi + eax*4]
mov dword [esp + 0x1c], ecx
push dword [ecx]
mov ecx, edx
call fcn.007766a3
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x18]
push esi
test al, al
je 0x77adfc
call fcn.007797a0
cmp ebx, edi
je 0x77adf8
mov ecx, dword [esp + 0x20]
inc ebx
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
sub ecx, 4
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x14]
jg 0x77ae01
mov edx, dword [ebp + 8]
jmp 0x77a9f1
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
test eax, eax
je 0x77aac5
test edi, edi
jle 0x77aac5
mov ecx, dword [ecx + 4]
mov dword [esp + 0x24], ecx
lea edi, [edx + ebx]
sar edi, 1
movzx esi, word [esi + edi*8 + 0xc]
cmp ecx, esi
mov eax, esi
cmovb eax, ecx
mov ecx, dword [esp + 0x10]
push eax
movzx eax, word [ecx + edi*8 + 0xe]
add ecx, 8
add eax, ecx
push eax
push dword [esp + 0x30]
call fcn.00798331
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x1c]
sub ecx, esi
mov esi, dword [esp + 0x10]
test eax, eax
cmovne ecx, eax
lea eax, [edi + 1]
cmp ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmovl eax, ebx
cmovl edx, edi
mov ebx, eax
mov dword [esp + 0x1c], edx
cmp ebx, edx
jl 0x77aa63
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xc], 0
je 0x77abdc
cmp dword [ebp + 0x10], 0
jne 0x77ab4b
cmp ebx, edi
jge 0x77adf8
lea edx, [ebx*8 + 0xe]
add edx, esi
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x10]
movzx esi, word [edx - 2]
cmp esi, eax
cmovb eax, esi
push eax
push dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
movzx eax, word [edx]
add ecx, 8
add eax, ecx
push eax
call fcn.00798331
mov ecx, dword [ebp + 0xc]
add esp, 0xc
sub esi, dword [ecx + 0x10]
test eax, eax
cmovne esi, eax
cmp esi, dword [esp + 0x18]
jge 0x77ae01
mov eax, dword [esp + 0x14]
add ecx, 0x1c
push dword [eax - 6]
call fcn.0077ea70
mov edx, dword [esp + 0x14]
inc ebx
mov ecx, dword [ebp + 0xc]
add edx, 8
mov dword [esp + 0x14], edx
cmp ebx, edi
jl 0x77aaea
jmp 0x77adf8
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x60]
mov dword [esp + 0x20], ecx
push dword [esi + ebx*8 + 8]
mov ecx, eax
call fcn.007766a3
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x28], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x20]
push dword [esp + 0x24]
test al, al
je 0x77adfc
call fcn.007797a0
cmp ebx, edi
je 0x77adf8
mov ecx, dword [ebp + 0xc]
inc ebx
mov eax, dword [ecx + 0x10]
movzx esi, word [esi + ebx*8 + 4]
cmp esi, eax
cmovb eax, esi
push eax
push dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + ebx*8 + 6]
add ecx, 8
add eax, ecx
push eax
call fcn.00798331
mov ecx, dword [ebp + 0xc]
add esp, 0xc
sub esi, dword [ecx + 0x10]
test eax, eax
cmovne esi, eax
test esi, esi
jg 0x77ae01
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
jmp 0x77ab55
cmp dword [ebp + 0x10], 0
jne 0x77ac13
cmp ebx, edi
jge 0x77adf8
lea esi, [esi + ebx*8]
lea eax, [ecx + 0x1c]
add esi, 8
mov dword [esp + 0x28], eax
sub edi, ebx
push dword [esi]
mov ecx, eax
call fcn.0077ea70
mov eax, dword [esp + 0x28]
lea esi, [esi + 8]
sub edi, 1
jne 0x77abf9
jmp 0x77adf8
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x60]
mov dword [esp + 0x20], eax
lea eax, [ebx + 1]
lea eax, [esi + eax*8]
mov dword [esp + 0x24], eax
push dword [eax]
call fcn.007766a3
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x20]
push esi
test al, al
je 0x77adfc
call fcn.007797a0
mov eax, dword [esp + 0x24]
inc ebx
add eax, 8
mov dword [esp + 0x24], eax
cmp ebx, edi
jg 0x77adf8
mov ecx, dword [ebp + 8]
jmp 0x77ac27
mov eax, dword [ecx]
test eax, eax
je 0x77acb2
movsd xmm0, qword [eax]
test edi, edi
jle 0x77acb2
mov edi, dword [ecx + 8]
lea eax, [edx + ebx]
sar eax, 1
mov dword [esp + 0x24], eax
comisd xmm0, xmmword [esi + eax*8 + 8]
ja 0x77aca7
ucomisd xmm0, qword [esi + eax*8 + 8]
lahf
test ah, 0x44
jp 0x77ac9d
test edi, edi
je 0x77aca3
mov edx, dword [esp + 0x24]
jmp 0x77acaa
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77ac7c
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77a534
cmp dword [ebp + 0x10], 0
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
jne 0x77ad37
cmp ebx, edi
jge 0x77adf8
mov eax, 0x3ff
lea edx, [esi + 8]
sub eax, ebx
lea edx, [edx + ebx*8]
mov dword [esp + 0x24], edx
lea esi, [esi + eax*4]
movsd xmm1, qword [edx]
comisd xmm1, xmm0
ja 0x77ae01
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x77ad0c
cmp dword [esp + 0x18], 0
je 0x77ae01
push dword [esi]
add ecx, 0x1c
call fcn.0077ea70
mov edx, dword [esp + 0x24]
inc ebx
movsd xmm0, qword [esp + 0x28]
add edx, 8
mov ecx, dword [ebp + 0xc]
sub esi, 4
mov dword [esp + 0x24], edx
cmp ebx, edi
jl 0x77ace9
jmp 0x77adf8
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x60]
mov dword [esp + 0x1c], eax
mov eax, 0x3ff
sub eax, ebx
lea eax, [esi + eax*4]
mov dword [esp + 0x24], eax
push dword [eax]
call fcn.007766a3
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x24], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x20]
test al, al
je 0x77adfc
call fcn.007797a0
cmp ebx, edi
je 0x77adf8
mov eax, dword [esp + 0x24]
movsd xmm0, qword [esi + ebx*8 + 8]
sub eax, 4
movsd xmm1, qword [esp + 0x28]
inc ebx
comisd xmm1, xmm0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], eax
jae 0x77ad4f
jmp 0x77ae01
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x60]
mov dword [esp + 0x20], eax
mov eax, 0x3ff
sub eax, ebx
lea eax, [esi + eax*4]
mov dword [esp + 0x24], eax
push dword [eax]
call fcn.007766a3
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077a4d3
mov ecx, dword [esp + 0x20]
push esi
test al, al
je 0x77adfc
call fcn.007797a0
mov eax, dword [esp + 0x24]
inc ebx
mov ecx, dword [ebp + 8]
sub eax, 4
mov dword [esp + 0x24], eax
cmp ebx, edi
jle 0x77adbe
mov al, 1
jmp 0x77ae03
call fcn.007797a0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc