Function at 0x6687f0
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.00667d50
pop ecx
pop ecx
cmp dword [ebp - 0x20], 0
jne 0x668816
call fcn.006782e0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x668937
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.00667ee0
pop ecx
mov dword [ebp - 0x44], eax
movzx eax, word [ebp - 0x44]
cmp eax, 0x13
ja case.0x66885b.3
jmp dword [eax*4 + 0x6de968]
call fcn.006782e0
jmp case.0x66885b.17
lea eax, [ebp - 0x34]
push eax
call fcn.00667f00
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x668852
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 0x6688d7
and dword [ebp - 0x38], 0xff
mov esi, dword [ebp - 0x38]
lea eax, [esi - 3]
cmp eax, 4
ja case.0x6688a8.4
jmp dword [eax*4 + 0x6de954]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
jmp 0x668911
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
add dword [ebp - 0x54], 4
jmp 0x668911
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
add dword [ebp - 0x54], 8
jmp 0x668911
call fcn.006782e0
jmp 0x668911
mov eax, dword [ebp - 0x38]
and eax, 0x40000000
je 0x668902
mov eax, dword [ebp - 0x38]
and eax, 0x80000000
jne 0x668902
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 0x66890e
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 0x668941
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.00667ee0
pop ecx
mov dword [ebp - 0x44], eax
movzx eax, word [ebp - 0x44]
cmp eax, 0x13
ja case.0x668979.3
jmp dword [eax*4 + 0x6de904]
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.00678300
add esp, 0xc
test al, al
jne 0x6689e1
jmp case.0x668979.0
mov ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push eax
call fcn.006685f0
pop ecx
pop ecx
test eax, eax
jne case.0x668979.0
mov edi, dword [ebp - 0x2c]
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.006686d0
add esp, 0xc
jmp case.0x668979.0
call fcn.006782e0
jmp 0x6689e1
lea eax, [ebp - 0x34]
push eax
call fcn.00667f00
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x668970
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.006680c0
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 0x668a57
and dword [ebp - 0x40], 0xff
mov edx, dword [ebp - 0x40]
lea eax, [edx - 3]
cmp eax, 4
ja case.0x668a27.4
jmp dword [eax*4 + 0x6de8f0]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
jmp 0x668a91
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
add dword [ebp - 0x50], 4
jmp 0x668a91
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
add dword [ebp - 0x50], 8
jmp 0x668a91
call fcn.006782e0
jmp 0x668a91
mov eax, dword [ebp - 0x40]
and eax, 0x40000000
je 0x668a82
mov eax, dword [ebp - 0x40]
and eax, 0x80000000
jne 0x668a82
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 0x668a8e
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 0x668ad0
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 0x668adc
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