Function at 0x100669d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x100bae20]
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 0x10066a0c
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 - 0xa3c], edx
cmp dword [eax + 0x38], edi
jle 0x10067299
mov dword [ebp - 0xa44], edi
mov edi, dword [ebp - 0xa58]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 0xa44]
cmp byte [eax + 8], 0
mov dword [ebp - 0xa28], eax
jne 0x10066a58
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.100696b0
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
je 0x10067310
mov eax, dword [ebp - 0xa3c]
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.1005dde0
add esp, 0x10
mov dword [ebx + 0x10], eax
test eax, eax
je 0x10067310
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebp - 0xa28]
movzx eax, byte [edx + 8]
dec ecx
push ecx
push eax
call fcn.1006d070
add esp, 8
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x10067310
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.1006d4c0
mov esi, dword [ebx + 0x18]
xor edi, edi
add esp, 0x18
mov dword [ebp - 0xa40], edi
cmp dword [ebx + 0x14], edi
jle 0x10067259
jmp 0x10066b36
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 - 0xa28]
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 - 0xa0c], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
shr eax, cl
mov edx, ecx
shl eax, cl
mov ecx, dword [ebp - 0xa0c]
shr ebx, cl
mov dword [ebp - 0xa18], eax
shl ebx, cl
mov ecx, edx
mov dword [ebp - 0xa14], 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 - 0xa0c], 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 - 0xa14]
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 0x1006722a
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x14]
jae 0x1006722a
mov eax, dword [ebp - 0xa18]
test edi, edi
jne 0x10066c8b
mov ecx, dword [ebp - 0xa14]
mov dword [ebp - 0xa64], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0xa18], eax
mov eax, dword [ebp - 0xa0c]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
jmp 0x10066cb6
inc eax
shr eax, 1
mov dword [ebp - 0xa18], eax
mov eax, dword [ebp - 0xa14]
inc eax
shr eax, 1
mov dword [ebp - 0xa64], eax
mov eax, dword [ebp - 0xa0c]
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 - 0xa28]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0xa60], eax
movzx eax, byte [edx + 6]
cmp eax, ecx
jl 0x10066ccf
mov eax, ecx
mov ecx, dword [esi + 0x30]
mov word [esi + 0x34], ax
movzx eax, byte [edx + 7]
cmp eax, ecx
jl 0x10066ce0
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.100696b0
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x10067310
cmp dword [esi], 0
mov dword [ebp - 0xa0c], 0
mov ebx, eax
mov dword [ebp - 0xa14], eax
jle 0x10067238
mov edx, dword [ebp - 0xa40]
test edx, edx
jne 0x10066d31
xor eax, eax
jmp 0x10066d3e
mov eax, dword [ebp - 0xa0c]
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 - 0xa28]
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.1006c4d0
mov edx, dword [ebx + 0xc]
mov ecx, edx
and ecx, 0x7ff
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0xa20], eax
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0xa3c]
or ecx, 0x2000
mov dword [ebp - 0xa08], ecx
movzx ecx, word [eax + 0x10]
mov eax, edx
sar eax, 0xb
sub ecx, eax
mov eax, dword [ebp - 0xa08]
add esp, 0x10
add ecx, dword [ebp - 0xa20]
js 0x10066dc4
shl eax, cl
jmp 0x10066dc8
neg ecx
sar eax, cl
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0xa28]
movzx ecx, byte [eax + 0xd4]
sar edx, 0xb
lea edx, [edx + ecx - 1]
mov dword [ebx + 0x14], edx
movzx eax, byte [eax + 0xd5]
lea ecx, [eax + edx]
cmp ecx, 0x20
jl 0x10066df8
mov eax, 0x1f
sub eax, edx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov edx, dword [edi]
cmp edx, dword [edi + 8]
je 0x1006720a
mov eax, dword [edi + 4]
cmp eax, dword [edi + 0xc]
je 0x1006720a
push 0
push 0
push 0
push 0
call fcn.1005dde0
add esp, 0x10
mov dword [ebx + 4], eax
test eax, eax
je 0x10067310
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x18]
push edx
mov edx, dword [edi + 0x14]
push ecx
mov ecx, dword [ebp - 0xa24]
push edx
mov edx, dword [ecx + 0x10]
push edx
push eax
call fcn.1005dda0
mov eax, dword [ebx + 4]
mov ecx, dword [edi]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 4]
mov eax, dword [edi + 4]
mov dword [edx + 8], eax
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.100696b0
mov edi, eax
add esp, 0x1c
mov dword [ebx], edi
test edi, edi
je 0x10067310
mov ecx, dword [ebp - 0xa64]
mov eax, dword [ebp - 0xa18]
mov dword [ebp - 0xa2c], ecx
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0xa1c], eax
mov dword [ebp - 0xa20], ecx
test ecx, ecx
jle 0x1006720a
jmp 0x10066ed6
mov eax, dword [ebp - 0xa1c]
mov ecx, dword [esi + 0x2c]
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x30]
add edx, eax
mov dword [ebp - 0xa4c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 4]
add edx, dword [ebp - 0xa2c]
cmp eax, ecx
jbe 0x10066f0a
mov dword [ebp - 0xa10], eax
jmp 0x10066f12
mov eax, ecx
mov dword [ebp - 0xa10], ecx
mov ecx, dword [ebp - 0xa2c]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
cmp ecx, eax
jbe 0x10066f26
mov eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
cmp dword [ebp - 0xa4c], ecx
jae 0x10066f3d
mov ecx, dword [ebp - 0xa4c]
mov dword [edi + 8], ecx
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0xa08], ecx
cmp edx, ebx
jb 0x10066f52
mov edx, ebx
mov dword [edi + 0xc], edx
cmp ecx, dword [ebp - 0xa10]
jbe 0x100671a5
cmp edx, eax
jbe 0x100671a5
movzx ecx, word [esi + 0x36]
shr eax, cl
mov ebx, dword [ebp - 0xa08]
shl eax, cl
mov dword [ebp - 0xa38], 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 - 0xa38]
lea ebx, [edx + ebx - 1]
mov edx, dword [ebp - 0xa10]
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.1006ff70
add esp, 8
mov dword [edi + 0x20], eax
test eax, eax
je 0x10067310
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
push edx
call fcn.1006ff70
add esp, 8
mov dword [edi + 0x24], eax
test eax, eax
je 0x10067310
mov eax, dword [edi + 0x18]
imul eax, eax, 0x2c
push eax
call fcn.100696b0
add esp, 4
mov dword [edi + 0x1c], eax
test eax, eax
je 0x10067310
mov ecx, dword [ebp - 0xa2c]
mov edx, dword [ebp - 0xa1c]
mov dword [ebp - 0xa10], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0xa30], edx
mov dword [ebp - 0xa08], ecx
mov ebx, eax
test ecx, ecx
jle 0x100671b0
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 - 0xa10]
mov dword [ebp - 0xa34], edx
mov edx, dword [ebp - 0xa30]
mov dword [ebp - 0xa50], edx
cmp edx, ecx
ja 0x10067081
mov dword [ebp - 0xa50], ecx
mov edx, dword [ebp - 0xa10]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xa48], edx
cmp edx, ecx
ja 0x1006709a
mov dword [ebp - 0xa48], ecx
mov ecx, dword [edi + 8]
cmp eax, ecx
jae 0x100670ab
mov edx, eax
mov dword [ebp - 0xa38], edx
jmp 0x100670b3
mov edx, ecx
mov dword [ebp - 0xa38], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0xa34]
cmp eax, ecx
jae 0x100670ca
mov ecx, eax
mov dword [ebp - 0xa34], eax
jmp 0x100670d0
mov dword [ebp - 0xa34], ecx
cmp edx, dword [ebp - 0xa50]
jbe 0x1006715a
cmp ecx, dword [ebp - 0xa48]
jbe 0x1006715a
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.1005dde0
add esp, 0x10
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10067310
mov edx, dword [ebp - 0xa34]
mov ecx, dword [ebp - 0xa38]
push edx
mov edx, dword [ebp - 0xa48]
push ecx
mov ecx, dword [ebp - 0xa50]
push edx
mov edx, dword [ebp - 0xa14]
push ecx
mov ecx, dword [edx + 4]
push ecx
push eax
call fcn.1005dda0
add esp, 0x18
add ebx, 0x2c
dec dword [ebp - 0xa08]
mov cl, byte [esi + 0x34]
mov edx, dword [ebp - 0xa30]
mov eax, 1
shl eax, cl
add edx, eax
mov dword [ebp - 0xa30], edx
cmp edx, dword [ebp - 0xa4c]
jb 0x10067196
mov cl, byte [esi + 0x36]
mov edx, dword [ebp - 0xa1c]
mov eax, 1
shl eax, cl
mov dword [ebp - 0xa30], edx
add dword [ebp - 0xa10], eax
cmp dword [ebp - 0xa08], 0
jg 0x10067045
jmp 0x100671b0
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 - 0xa1c]
mov edx, 1
shl edx, cl
add eax, edx
mov dword [ebp - 0xa1c], eax
cmp eax, dword [ebp - 0xa60]
jb 0x100671ec
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp - 0xa18]
mov edx, 1
shl edx, cl
mov dword [ebp - 0xa1c], eax
add dword [ebp - 0xa2c], edx
mov eax, dword [ebp - 0xa20]
mov ebx, dword [ebp - 0xa14]
dec eax
add edi, 0x28
mov dword [ebp - 0xa20], eax
test eax, eax
jg 0x10066ed0
mov eax, dword [ebp - 0xa0c]
inc eax
add ebx, 0x20
mov dword [ebp - 0xa0c], eax
mov dword [ebp - 0xa14], ebx
cmp eax, dword [esi]
jl 0x10066d23
jmp 0x10067238
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 0x10066b30
mov eax, dword [ebp - 0xa54]
mov edx, dword [ebp - 0xa5c]
add dword [ebp - 0xa44], 0x11c
add dword [ebp - 0xa3c], 0x20
inc eax
add ebx, 0x20
mov dword [ebp - 0xa54], eax
mov dword [ebp - 0xa24], ebx
cmp eax, dword [edx + 0x38]
jl 0x10066a33
mov esi, dword [ebp - 0xa58]
xor edi, edi
mov eax, edx
push esi
push eax
call fcn.10074430
add esp, 8
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x10067310
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
push ecx
call fcn.10070d40
add esp, 4
test eax, eax
jle 0x100672f1
lea ecx, [ecx]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
push edi
push eax
call fcn.10070d20
push eax
call fcn.10070cf0
mov ecx, dword [esi + 0x34]
push eax
push ecx
call fcn.10070ee0
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
push eax
inc edi
call fcn.10070d40
add esp, 0x18
cmp edi, eax
jl 0x100672c0
mov ecx, dword [esi + 0x34]
push ecx
call fcn.10070d50
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007cee0
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.1007cee0
mov esp, ebp
pop ebp
ret