Function at 0x668840
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x48
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
call fcn.00667da0
pop ecx
pop ecx
cmp dword [ebp - 0x20], 0
jne 0x668866
call fcn.00678330
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x668987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00667f30
pop ecx
mov dword [ebp - 0x44], eax
movzx eax, word [ebp - 0x44]
cmp eax, 0x13
ja case.0x6688ab.3
jmp dword [eax*4 + 0x6de958]
call fcn.00678330
jmp case.0x6688ab.17
lea eax, [ebp - 0x34]
push eax
call fcn.00667f50
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x6688a2
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 2]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
and eax, 0xffffff00
cmp eax, 0x80000000
jne 0x668927
and dword [ebp - 0x38], 0xff
mov esi, dword [ebp - 0x38]
lea eax, [esi - 3]
cmp eax, 4
ja case.0x6688f8.4
jmp dword [eax*4 + 0x6de944]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
jmp 0x668961
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
add dword [ebp - 0x54], 4
jmp 0x668961
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
add dword [ebp - 0x54], 8
jmp 0x668961
call fcn.00678330
jmp 0x668961
mov eax, dword [ebp - 0x38]
and eax, 0x40000000
je 0x668952
mov eax, dword [ebp - 0x38]
and eax, 0x80000000
jne 0x668952
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
or dword [ebp - 0x54], 0x80000000
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
add eax, dword [ecx]
jmp 0x66895e
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x54], eax
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov ebx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], ebx
mov ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
jmp 0x668991
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x34]
push eax
call fcn.00667f30
pop ecx
mov dword [ebp - 0x44], eax
movzx eax, word [ebp - 0x44]
cmp eax, 0x13
ja case.0x6689c9.3
jmp dword [eax*4 + 0x6de8f4]
lea esi, [ebp - 0x14]
push esi
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax + 2]
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push eax
call fcn.00678350
add esp, 0xc
test al, al
jne 0x668a31
jmp case.0x6689c9.0
mov ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push eax
call fcn.00668640
pop ecx
pop ecx
test eax, eax
jne case.0x6689c9.0
mov edi, dword [ebp - 0x2c]
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00668720
add esp, 0xc
jmp case.0x6689c9.0
call fcn.00678330
jmp 0x668a31
lea eax, [ebp - 0x34]
push eax
call fcn.00667f50
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x6689c0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00668110
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0xa]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
and eax, 0xffffff00
cmp eax, 0x80000000
jne 0x668aa7
and dword [ebp - 0x40], 0xff
mov edx, dword [ebp - 0x40]
lea eax, [edx - 3]
cmp eax, 4
ja case.0x668a77.4
jmp dword [eax*4 + 0x6de8e0]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
jmp 0x668ae1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
add dword [ebp - 0x50], 4
jmp 0x668ae1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
add dword [ebp - 0x50], 8
jmp 0x668ae1
call fcn.00678330
jmp 0x668ae1
mov eax, dword [ebp - 0x40]
and eax, 0x40000000
je 0x668ad2
mov eax, dword [ebp - 0x40]
and eax, 0x80000000
jne 0x668ad2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
or dword [ebp - 0x50], 0x80000000
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
add eax, dword [ecx]
jmp 0x668ade
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x50], eax
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x18]
mov dword [edx], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1c]
mov dword [edx + 8], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp byte [eax], 0x2a
jne 0x668b20
lea eax, [edx + 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
add eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
jmp 0x668b2c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 6]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
wait
fnstcw word [ebp - 0xe]
wait
fninit
fldcw word [ebp - 0xe]
mov ebp, dword [eax + 0xc]
jmp ecx