Function at 0x10066f9a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x302c
call fcn.10175520
mov eax, dword [0x1026e004]
xor eax, esp
mov dword [esp + 0x3028], eax
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
push edi
push esi
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
call dword [eax + 8]
mov edi, eax
mov edx, 0x1000
test edi, edi
jne 0x10067001
xor esi, esi
lea edi, [ebx + 0x34]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x24], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
or dword [ebx + 4], 4
jmp 0x1006714d
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x34]
mov eax, dword [eax]
cmp edi, 0x200
jae 0x10067062
push edi
push ecx
push esi
call eax
test eax, eax
js 0x10067330
lea eax, [esp + 0x20]
push eax
push edi
lea eax, [esp + 0x38]
push eax
call fcn.10023e3b
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [ebx + 8], edi
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x100670b4
cmp edi, edx
jae 0x100670bf
push edi
push ecx
push esi
call eax
test eax, eax
js 0x10067330
and dword [esp + 0x10], 0
lea esi, [ebx + 0x14]
and dword [esi], 0
lea eax, [esp + 0x10]
push esi
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x24]
call dword [eax + 0x74]
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x34]
push eax
push edi
lea eax, [esp + 0x38]
mov dword [ebx + 8], edi
push eax
call fcn.10023e3b
or dword [ebx + 4], 4
xor esi, esi
jmp 0x1006714d
push edx
push ecx
push esi
call eax
test eax, eax
js 0x10067330
mov ecx, dword [esi]
lea eax, [edi - 0x1000]
push 0
push eax
push esi
call dword [ecx + 4]
test eax, eax
js 0x10067330
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x1000
lea ecx, [esp + 0x1038]
push ecx
push esi
call dword [eax]
test eax, eax
js 0x10067330
lea eax, [edi - 0x1000]
xor esi, esi
shr eax, 1
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x14]
push eax
mov dword [eax], esi
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], esi
push eax
mov eax, dword [esp + 0x24]
call dword [eax + 0x74]
push esi
push dword [esp + 0x10]
lea eax, [esp + 0x1038]
push eax
call fcn.10016801
mov dword [ebx + 0x24], eax
mov dword [ebx + 8], edi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
push dword [esp + 0xc]
lea eax, [esp + 0x34]
mov dword [ebx + 0x2c], esi
push eax
mov dword [ebx + 0x158], esi
call fcn.1001830b
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x100671e6
mov eax, dword [esi + 8]
push esi
mov dword [ebx + 0x10], eax
call fcn.100184ee
mov dword [ebx + 0xc], eax
movzx eax, word [esi + 0x14]
movzx edi, word [esi + 6]
add eax, 0x18
add esi, eax
push edi
push esi
call fcn.10066a13
push edi
push esi
mov dword [esp + 0x24], eax
call fcn.10066973
test eax, eax
je 0x100671a4
or dword [ebx + 0x2c], 2
mov ecx, dword [esp + 0x10]
cmp word [ecx + 0x5c], 3
jne 0x100671b3
or dword [ebx + 0x2c], 1
cmp dword [ecx + 0x9c], 0
mov eax, dword [ebx + 0x2c]
je 0x100671c2
or eax, 8
mov edi, dword [esp + 0x14]
or eax, 4
mov esi, dword [esp + 0x18]
mov dword [ebx + 0x2c], eax
test byte [edi + 0x68], 2
je 0x10067289
mov edx, esi
call fcn.100685a2
jmp 0x1006726d
push dword [esp + 0xc]
lea eax, [esp + 0x34]
push eax
call fcn.100183a2
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x10067275
mov ecx, dword [esi + 8]
push esi
mov dword [ebx + 0x10], ecx
call fcn.100184ee
mov dword [ebx + 0xc], eax
movzx eax, word [esi + 0x14]
movzx edi, word [esi + 6]
add eax, 0x18
add esi, eax
push edi
push esi
call fcn.10066a13
push edi
push esi
mov dword [esp + 0x24], eax
call fcn.10066973
test eax, eax
je 0x10067234
or dword [ebx + 0x2c], 2
mov ecx, dword [esp + 0x10]
cmp word [ecx + 0x5c], 3
jne 0x10067243
or dword [ebx + 0x2c], 1
cmp dword [ecx + 0xac], 0
mov eax, dword [ebx + 0x2c]
je 0x10067252
or eax, 8
mov edi, dword [esp + 0x14]
or eax, 4
mov esi, dword [esp + 0x18]
mov dword [ebx + 0x2c], eax
test byte [edi + 0x68], 2
je 0x10067289
mov edx, esi
call fcn.10068658
mov dword [ebx + 0x158], eax
jmp 0x10067289
and dword [ebx + 0x10], 0
and dword [ebx + 0xc], 0
and dword [ebx + 0x18], 0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 4]
test al, 4
jne 0x10067301
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100672fd
mov eax, 0x1000
cmp ecx, eax
ja 0x100672bc
push eax
lea eax, [esp + 0x1034]
push eax
lea eax, [esp + 0x2038]
push eax
call fcn.100e1b00
add esp, 0xc
jmp 0x100672e4
mov eax, dword [esi]
push 0
push ecx
push esi
call dword [eax + 4]
test eax, eax
js 0x10067330
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x1000
lea ecx, [esp + 0x2038]
push ecx
push esi
call dword [eax]
test eax, eax
js 0x10067330
push ecx
push dword [esp + 0x10]
lea edx, [esp + 0x2038]
call fcn.10066905
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 4]
jmp 0x10067301
and dword [ebx + 0x20], 0
and dword [ebx + 0x30], 0
or eax, 2
and dword [ebx + 0x28], 0
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x68]
and eax, 2
shl eax, 0x1c
push 0x80
mov dword [ebx + 0x44], eax
lea eax, [ebx + 0x48]
push 0
push eax
call fcn.100e19a0
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x3034]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e04a9
mov esp, ebp
pop ebp
ret 0xc