Function at 0x77c94d
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 0x77cd8d
je 0x77cc1b
test eax, eax
js 0x77c9ae
cmp eax, 2
jle 0x77cafb
cmp eax, 3
je 0x77c9eb
cmp eax, 4
je 0x77cda8
cmp dword [ebp + 0x10], 0
jne 0x77d220
cmp ebx, edi
jge 0x77d272
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.00780eea
mov ecx, dword [esp + 0x28]
lea esi, [esi - 4]
sub edi, 1
jne 0x77c9d3
jmp 0x77d272
mov eax, dword [ecx]
test eax, eax
je 0x77ca22
mov al, byte [eax]
test edi, edi
jle 0x77ca22
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 0x77ca14
jne 0x77ca10
test edi, edi
je 0x77ca14
mov edx, eax
jmp 0x77ca17
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77c9fd
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77c9ae
cmp dword [ebp + 0x10], 0
mov dl, byte [eax]
mov byte [esp + 0xf], dl
jne 0x77ca8a
cmp ebx, edi
jge 0x77d272
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 0x77d27b
jne 0x77ca64
cmp dword [esp + 0x18], 0
je 0x77d27b
push dword [eax]
add ecx, 0x1c
call fcn.00780eea
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 0x77ca4b
jmp 0x77d272
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.00778b1d
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x18], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x10]
push dword [esp + 0x14]
test al, al
je 0x77d276
call fcn.0077bc1a
cmp ebx, edi
je 0x77d272
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 0x77d27b
mov edx, dword [ebp + 8]
jmp 0x77caa2
mov eax, dword [ecx]
test eax, eax
je 0x77cb2b
mov eax, dword [eax]
test edi, edi
jle 0x77cb2b
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [esi + eax*4 + 8]
ja 0x77cb20
jne 0x77cb1c
cmp dword [ecx + 8], 0
je 0x77cb20
mov edx, eax
jmp 0x77cb23
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77cb09
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77c9ae
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jne 0x77cb9c
cmp ebx, edi
jge 0x77d272
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 0x77d27b
jne 0x77cb77
cmp dword [esp + 0x18], 0
je 0x77d27b
push dword [esi]
add ecx, 0x1c
call fcn.00780eea
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 0x77cb5e
jmp 0x77d272
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.00778b1d
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x1c]
push esi
test al, al
je 0x77d276
call fcn.0077bc1a
cmp ebx, edi
je 0x77d272
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 0x77d27b
mov edx, dword [ebp + 8]
jmp 0x77cbbe
mov eax, dword [ecx]
test eax, eax
je 0x77cc7c
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 0x77cc7c
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 0x77cc71
jl 0x77cc53
cmp edi, dword [esi + eax*8 + 8]
ja 0x77cc71
cmp edi, dword [esi + eax*8 + 8]
jne 0x77cc6d
mov edi, dword [esp + 0x1c]
cmp edi, dword [esi + eax*8 + 0xc]
mov edi, dword [esp + 0x10]
jne 0x77cc6d
cmp dword [ecx + 8], 0
je 0x77cc71
mov edx, eax
jmp 0x77cc74
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77cc39
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77c9ae
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 0x77cd0e
cmp ebx, edi
jge 0x77d272
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 0x77d27b
mov eax, dword [esp + 0x10]
jl 0x77ccd1
cmp dword [edx], eax
ja 0x77d27b
cmp dword [edx], eax
jne 0x77cce9
mov eax, dword [esp + 0x14]
cmp dword [edx + 4], eax
jne 0x77cce9
cmp dword [esp + 0x18], 0
je 0x77d27b
push dword [esi]
add ecx, 0x1c
call fcn.00780eea
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 0x77ccb6
jmp 0x77d272
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.00778b1d
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x1c], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x20]
push dword [esp + 0x18]
test al, al
je 0x77d276
call fcn.0077bc1a
cmp ebx, edi
je 0x77d272
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 0x77d27b
jl 0x77cd88
cmp ecx, dword [esp + 0x10]
ja 0x77d27b
mov ecx, dword [ebp + 8]
jmp 0x77cd26
sub eax, 6
je 0x77d0e5
sub eax, 1
je 0x77cec8
sub eax, 3
jne 0x77c9ae
mov eax, dword [ecx]
test eax, eax
je 0x77cdd8
mov eax, dword [eax]
test edi, edi
jle 0x77cdd8
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [esi + eax*4 + 8]
jg 0x77cdcd
jne 0x77cdc9
cmp dword [ecx + 8], 0
je 0x77cdcd
mov edx, eax
jmp 0x77cdd0
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77cdb6
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77c9ae
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jne 0x77ce49
cmp ebx, edi
jge 0x77d272
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 0x77d27b
jne 0x77ce24
cmp dword [esp + 0x18], 0
je 0x77d27b
push dword [esi]
add ecx, 0x1c
call fcn.00780eea
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 0x77ce0b
jmp 0x77d272
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.00778b1d
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x18]
push esi
test al, al
je 0x77d276
call fcn.0077bc1a
cmp ebx, edi
je 0x77d272
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 0x77d27b
mov edx, dword [ebp + 8]
jmp 0x77ce6b
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
test eax, eax
je 0x77cf3f
test edi, edi
jle 0x77cf3f
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.0079a7a1
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 0x77cedd
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xc], 0
je 0x77d056
cmp dword [ebp + 0x10], 0
jne 0x77cfc5
cmp ebx, edi
jge 0x77d272
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.0079a7a1
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 0x77d27b
mov eax, dword [esp + 0x14]
add ecx, 0x1c
push dword [eax - 6]
call fcn.00780eea
mov edx, dword [esp + 0x14]
inc ebx
mov ecx, dword [ebp + 0xc]
add edx, 8
mov dword [esp + 0x14], edx
cmp ebx, edi
jl 0x77cf64
jmp 0x77d272
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.00778b1d
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x28], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x20]
push dword [esp + 0x24]
test al, al
je 0x77d276
call fcn.0077bc1a
cmp ebx, edi
je 0x77d272
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.0079a7a1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
sub esi, dword [ecx + 0x10]
test eax, eax
cmovne esi, eax
test esi, esi
jg 0x77d27b
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
jmp 0x77cfcf
cmp dword [ebp + 0x10], 0
jne 0x77d08d
cmp ebx, edi
jge 0x77d272
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.00780eea
mov eax, dword [esp + 0x28]
lea esi, [esi + 8]
sub edi, 1
jne 0x77d073
jmp 0x77d272
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.00778b1d
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x20]
push esi
test al, al
je 0x77d276
call fcn.0077bc1a
mov eax, dword [esp + 0x24]
inc ebx
add eax, 8
mov dword [esp + 0x24], eax
cmp ebx, edi
jg 0x77d272
mov ecx, dword [ebp + 8]
jmp 0x77d0a1
mov eax, dword [ecx]
test eax, eax
je 0x77d12c
movsd xmm0, qword [eax]
test edi, edi
jle 0x77d12c
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 0x77d121
ucomisd xmm0, qword [esi + eax*8 + 8]
lahf
test ah, 0x44
jp 0x77d117
test edi, edi
je 0x77d11d
mov edx, dword [esp + 0x24]
jmp 0x77d124
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x77d0f6
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x77c9ae
cmp dword [ebp + 0x10], 0
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
jne 0x77d1b1
cmp ebx, edi
jge 0x77d272
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 0x77d27b
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x77d186
cmp dword [esp + 0x18], 0
je 0x77d27b
push dword [esi]
add ecx, 0x1c
call fcn.00780eea
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 0x77d163
jmp 0x77d272
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.00778b1d
push dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x24], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x20]
test al, al
je 0x77d276
call fcn.0077bc1a
cmp ebx, edi
je 0x77d272
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 0x77d1c9
jmp 0x77d27b
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.00778b1d
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0077c94d
mov ecx, dword [esp + 0x20]
push esi
test al, al
je 0x77d276
call fcn.0077bc1a
mov eax, dword [esp + 0x24]
inc ebx
mov ecx, dword [ebp + 8]
sub eax, 4
mov dword [esp + 0x24], eax
cmp ebx, edi
jle 0x77d238
mov al, 1
jmp 0x77d27d
call fcn.0077bc1a
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc