Function at 0x10077ff0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x1011b92c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x20]
push edi
xor edi, edi
mov dword [esi + 0x30], edi
cmp byte [ecx + 0xc], 1
mov dword [ebp - 0xa5c], eax
mov dword [ebp - 0xa58], esi
jne 0x1007802c
mov dword [esi + 0x30], 1
mov ebx, dword [esi + 0x24]
mov edx, dword [eax + 0x58]
mov dword [ebp - 0xa54], edi
mov dword [ebp - 0xa24], ebx
mov dword [ebp - 0xa38], edx
cmp dword [eax + 0x38], edi
jle 0x10078889
mov dword [ebp - 0xa4c], edi
mov edi, dword [ebp - 0xa58]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 0xa4c]
cmp byte [eax + 8], 0
mov dword [ebp - 0xa2c], eax
jne 0x10078078
mov dword [edi + 0x30], 1
movzx eax, byte [eax + 5]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
mov dword [ebx + 0x14], eax
call fcn.10059700
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
je 0x10078900
mov eax, dword [ebp - 0xa38]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [edi + 0x10]
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
xor edx, edx
push eax
mov eax, dword [edi + 0xc]
lea eax, [eax + esi - 1]
div esi
mov edx, dword [edi + 8]
push eax
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
xor edx, edx
push eax
mov eax, dword [edi + 4]
lea eax, [eax + esi - 1]
div esi
push eax
call fcn.1005aa20
add esp, 0x10
mov dword [ebx + 0x10], eax
test eax, eax
je 0x10078900
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebp - 0xa2c]
movzx eax, byte [edx + 8]
dec ecx
push ecx
push eax
call fcn.10094780
add esp, 8
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x10078900
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0xa04]
push edx
mov edx, dword [ecx + 0x10]
push edx
mov edx, dword [ecx + 0xc]
push edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push edx
push ecx
push eax
call fcn.10094be0
mov esi, dword [ebx + 0x18]
xor edi, edi
add esp, 0x18
mov dword [ebp - 0xa40], edi
cmp dword [ebx + 0x14], edi
jle 0x10078849
jmp 0x10078156
mov edi, dword [ebp - 0xa40]
mov dword [esi + 4], 0
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [esi + 8], edx
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 4]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 8]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [esi + 0x10], edx
mov eax, dword [ebx + 0x14]
sub eax, edi
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0xc]
mov ebx, dword [esi + 0xc]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
mov eax, dword [ebp - 0xa2c]
shr edx, cl
mov dword [esi + 0x14], edx
movzx ecx, byte [eax + edi + 0xd7]
mov dword [esi + 0x18], ecx
movzx eax, byte [eax + edi + 0xf8]
mov dword [ebp - 0xa08], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
shr eax, cl
mov edx, ecx
shl eax, cl
mov ecx, dword [ebp - 0xa08]
shr ebx, cl
mov dword [ebp - 0xa1c], eax
shl ebx, cl
mov ecx, edx
mov dword [ebp - 0xa10], ebx
mov ebx, 1
shl ebx, cl
mov ecx, dword [esi + 0x10]
lea ebx, [ebx + ecx - 1]
mov ecx, edx
shr ebx, cl
shl ebx, cl
mov dword [ebp - 0xa08], ebx
sub ebx, eax
shr ebx, cl
mov ecx, dword [esi + 0x1c]
mov eax, 1
shl eax, cl
mov dword [esi + 0x20], ebx
mov ecx, eax
mov eax, dword [esi + 0x14]
lea eax, [ecx + eax - 1]
mov ecx, dword [esi + 0x1c]
shr eax, cl
shl eax, cl
sub eax, dword [ebp - 0xa10]
shr eax, cl
mov dword [esi + 0x24], eax
imul eax, ebx
mov dword [esi + 0x28], eax
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jae 0x1007881a
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x14]
jae 0x1007881a
mov eax, dword [ebp - 0xa1c]
test edi, edi
jne 0x100782ab
mov ecx, dword [ebp - 0xa10]
mov dword [ebp - 0xa64], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0xa08]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
jmp 0x100782d6
inc eax
shr eax, 1
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0xa10]
inc eax
shr eax, 1
mov dword [ebp - 0xa64], eax
mov eax, dword [ebp - 0xa08]
inc eax
shr eax, 1
dec edx
mov dword [esi + 0x2c], edx
lea edx, [ecx - 1]
mov dword [esi + 0x30], edx
mov edx, dword [ebp - 0xa2c]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0xa60], eax
movzx eax, byte [edx + 6]
cmp eax, ecx
jl 0x100782ef
mov eax, ecx
mov ecx, dword [esi + 0x30]
mov word [esi + 0x34], ax
movzx eax, byte [edx + 7]
cmp eax, ecx
jl 0x10078300
mov eax, ecx
mov word [esi + 0x36], ax
xor eax, eax
test edi, edi
setne al
lea eax, [eax + eax + 1]
mov dword [esi], eax
shl eax, 5
push eax
call fcn.10059700
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x10078900
cmp dword [esi], 0
mov dword [ebp - 0xa08], 0
mov ebx, eax
mov dword [ebp - 0xa10], eax
jle 0x10078828
mov edx, dword [ebp - 0xa40]
test edx, edx
jne 0x10078351
xor eax, eax
jmp 0x1007835e
mov eax, dword [ebp - 0xa08]
lea ecx, [eax + edx*2]
lea eax, [edx + ecx - 2]
lea edi, [eax + eax*4]
mov ecx, dword [ebp + edi*8 - 0x9f4]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa2c]
movzx eax, word [ecx + eax*2 + 0xc]
lea edi, [ebp + edi*8 - 0xa04]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
movzx ecx, byte [ecx + 8]
push eax
push edx
mov edx, dword [ebp - 0xa24]
mov eax, dword [edx + 0x14]
dec eax
push eax
push ecx
call fcn.10093bc0
mov edx, dword [ebp - 0xa38]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0x18], eax
movzx edx, word [edx + 0x10]
add esp, 0x10
add edx, eax
call fcn.10077660
mov ecx, dword [ebp - 0xa2c]
mov dword [ebx + 0x10], eax
movzx edx, byte [ecx + 0xd4]
mov eax, dword [ebx + 0xc]
sar eax, 0xb
lea eax, [eax + edx - 1]
mov dword [ebx + 0x14], eax
movzx ecx, byte [ecx + 0xd5]
lea edx, [ecx + eax]
cmp edx, 0x20
jl 0x100783e7
mov ecx, 0x1f
sub ecx, eax
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov eax, dword [edi]
cmp eax, dword [edi + 8]
je 0x100787fa
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 0xc]
je 0x100787fa
push 0
push 0
push 0
push 0
call fcn.1005aa20
add esp, 0x10
mov dword [ebx + 4], eax
test eax, eax
je 0x10078900
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edx
mov edx, dword [edi + 0x18]
push ecx
mov ecx, dword [edi + 0x14]
push edx
mov edx, dword [ebp - 0xa24]
push ecx
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.1005a9e0
mov edx, dword [ebx + 4]
mov eax, dword [edi]
mov dword [edx + 4], eax
mov ecx, dword [ebx + 4]
mov edx, dword [edi + 4]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x18]
add ecx, dword [eax + 4]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x14]
add edx, dword [eax + 8]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x28]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.10059700
mov edi, eax
add esp, 0x1c
mov dword [ebx], edi
test edi, edi
je 0x10078900
mov ecx, dword [ebp - 0xa64]
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 0xa28], ecx
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0xa18], eax
mov dword [ebp - 0xa20], ecx
test ecx, ecx
jle 0x100787fa
jmp 0x100784c6
mov eax, dword [ebp - 0xa18]
mov ecx, dword [esi + 0x2c]
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x30]
add edx, eax
mov dword [ebp - 0xa44], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 4]
add edx, dword [ebp - 0xa28]
cmp eax, ecx
jbe 0x100784fa
mov dword [ebp - 0xa0c], eax
jmp 0x10078502
mov eax, ecx
mov dword [ebp - 0xa0c], ecx
mov ecx, dword [ebp - 0xa28]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
cmp ecx, eax
jbe 0x10078516
mov eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
cmp dword [ebp - 0xa44], ecx
jae 0x1007852d
mov ecx, dword [ebp - 0xa44]
mov dword [edi + 8], ecx
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0xa14], ecx
cmp edx, ebx
jb 0x10078542
mov edx, ebx
mov dword [edi + 0xc], edx
cmp ecx, dword [ebp - 0xa0c]
jbe 0x10078795
cmp edx, eax
jbe 0x10078795
movzx ecx, word [esi + 0x36]
shr eax, cl
mov ebx, dword [ebp - 0xa14]
shl eax, cl
mov dword [ebp - 0xa34], eax
mov eax, 1
shl eax, cl
lea eax, [eax + edx - 1]
shr eax, cl
mov edx, 1
shl eax, cl
movzx ecx, word [esi + 0x34]
shl edx, cl
sub eax, dword [ebp - 0xa34]
lea ebx, [edx + ebx - 1]
mov edx, dword [ebp - 0xa0c]
shr ebx, cl
shr edx, cl
shl ebx, cl
movzx ecx, word [esi + 0x34]
shl edx, cl
movzx ecx, word [esi + 0x34]
sub ebx, edx
shr ebx, cl
mov dword [edi + 0x10], ebx
mov cl, byte [esi + 0x36]
shr eax, cl
mov ecx, ebx
mov edx, ebx
imul edx, eax
push eax
push ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], edx
call fcn.10097610
add esp, 8
mov dword [edi + 0x20], eax
test eax, eax
je 0x10078900
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
push edx
call fcn.10097610
add esp, 8
mov dword [edi + 0x24], eax
test eax, eax
je 0x10078900
mov eax, dword [edi + 0x18]
imul eax, eax, 0x2c
push eax
call fcn.10059700
add esp, 4
mov dword [edi + 0x1c], eax
test eax, eax
je 0x10078900
mov ecx, dword [ebp - 0xa28]
mov edx, dword [ebp - 0xa18]
mov dword [ebp - 0xa0c], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0xa3c], edx
mov dword [ebp - 0xa14], ecx
mov ebx, eax
test ecx, ecx
jle 0x100787a0
movzx ecx, byte [esi + 0x34]
mov eax, 1
shl eax, cl
movzx ecx, byte [esi + 0x36]
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi]
add edx, dword [ebp - 0xa0c]
mov dword [ebp - 0xa30], edx
mov edx, dword [ebp - 0xa3c]
mov dword [ebp - 0xa50], edx
cmp edx, ecx
ja 0x10078671
mov dword [ebp - 0xa50], ecx
mov edx, dword [ebp - 0xa0c]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xa48], edx
cmp edx, ecx
ja 0x1007868a
mov dword [ebp - 0xa48], ecx
mov ecx, dword [edi + 8]
cmp eax, ecx
jae 0x1007869b
mov edx, eax
mov dword [ebp - 0xa34], edx
jmp 0x100786a3
mov edx, ecx
mov dword [ebp - 0xa34], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0xa30]
cmp eax, ecx
jae 0x100786ba
mov ecx, eax
mov dword [ebp - 0xa30], eax
jmp 0x100786c0
mov dword [ebp - 0xa30], ecx
cmp edx, dword [ebp - 0xa50]
jbe 0x1007874a
cmp ecx, dword [ebp - 0xa48]
jbe 0x1007874a
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 3
mov dword [ebx + 0x24], eax
call fcn.1005aa20
add esp, 0x10
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10078900
mov edx, dword [ebp - 0xa30]
mov ecx, dword [ebp - 0xa34]
push edx
mov edx, dword [ebp - 0xa48]
push ecx
mov ecx, dword [ebp - 0xa50]
push edx
mov edx, dword [ebp - 0xa10]
push ecx
mov ecx, dword [edx + 4]
push ecx
push eax
call fcn.1005a9e0
add esp, 0x18
add ebx, 0x2c
dec dword [ebp - 0xa14]
mov cl, byte [esi + 0x34]
mov edx, dword [ebp - 0xa3c]
mov eax, 1
shl eax, cl
add edx, eax
mov dword [ebp - 0xa3c], edx
cmp edx, dword [ebp - 0xa44]
jb 0x10078786
mov cl, byte [esi + 0x36]
mov edx, dword [ebp - 0xa18]
mov eax, 1
shl eax, cl
mov dword [ebp - 0xa3c], edx
add dword [ebp - 0xa0c], eax
cmp dword [ebp - 0xa14], 0
jg 0x10078635
jmp 0x100787a0
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebp - 0xa18]
mov edx, 1
shl edx, cl
add eax, edx
mov dword [ebp - 0xa18], eax
cmp eax, dword [ebp - 0xa60]
jb 0x100787dc
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp - 0xa1c]
mov edx, 1
shl edx, cl
mov dword [ebp - 0xa18], eax
add dword [ebp - 0xa28], edx
mov eax, dword [ebp - 0xa20]
mov ebx, dword [ebp - 0xa10]
dec eax
add edi, 0x28
mov dword [ebp - 0xa20], eax
test eax, eax
jg 0x100784c0
mov eax, dword [ebp - 0xa08]
inc eax
add ebx, 0x20
mov dword [ebp - 0xa08], eax
mov dword [ebp - 0xa10], ebx
cmp eax, dword [esi]
jl 0x10078343
jmp 0x10078828
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xa40]
mov ecx, dword [ebp - 0xa24]
inc eax
add esi, 0x38
mov dword [ebp - 0xa40], eax
mov ebx, ecx
cmp eax, dword [ecx + 0x14]
jl 0x10078150
mov eax, dword [ebp - 0xa54]
mov edx, dword [ebp - 0xa5c]
add dword [ebp - 0xa4c], 0x11c
add dword [ebp - 0xa38], 0x20
inc eax
add ebx, 0x20
mov dword [ebp - 0xa54], eax
mov dword [ebp - 0xa24], ebx
cmp eax, dword [edx + 0x38]
jl 0x10078053
mov esi, dword [ebp - 0xa58]
xor edi, edi
mov eax, edx
push esi
push eax
call fcn.1009b930
add esp, 8
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x10078900
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
push ecx
call fcn.10077cf0
add esp, 4
test eax, eax
jle 0x100788e1
lea ecx, [ecx]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
push edi
push eax
call fcn.10098390
push eax
call fcn.10098360
mov ecx, dword [esi + 0x34]
push eax
push ecx
call fcn.10098540
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
push eax
inc edi
call fcn.10077cf0
add esp, 0x18
cmp edi, eax
jl 0x100788b0
mov ecx, dword [esi + 0x34]
push ecx
call fcn.100983b0
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b3ac1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.100b3ac1
mov esp, ebp
pop ebp
ret