Function at 0x663000
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x696194
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x6ade70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x134], edi
call fcn.00661fe0
movzx eax, word [edi]
mov ecx, 0x454e
cmp ax, cx
je 0x663335
mov ecx, 0x454c
cmp ax, cx
je 0x663335
mov ecx, 0x5a4d
cmp ax, cx
jne 0x663335
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
jne 0x663335
mov eax, 0xe0
cmp word [esi + 0x14], ax
jne 0x6630db
mov eax, 0x10b
cmp word [esi + 0x18], ax
jne 0x6630db
lea eax, [ebp - 0x111]
mov byte [ebp - 0x111], 0
push eax
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.00666880
add esp, 4
lea edi, [ebx + 0x10]
mov ecx, edi
push eax
call fcn.00666310
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x6630d3
push 0x10c
push eax
call fcn.0067f038
add esp, 8
mov eax, dword [edi]
mov byte [ebx + 0x24], 0
jmp 0x663131
mov ecx, esi
call fcn.00662fe0
test al, al
je 0x6631e3
lea eax, [ebp - 0x111]
mov byte [ebp - 0x111], 1
push eax
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.00666880
add esp, 4
lea edi, [ebx + 0x10]
mov ecx, edi
push eax
call fcn.00666310
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x66312b
push 0x10c
push eax
call fcn.0067f038
add esp, 8
mov eax, dword [edi]
mov byte [ebx + 0x24], 1
mov ecx, dword [ebp - 0x134]
lea edx, [esi + 4]
add eax, 0x18
mov dword [ebx + 0x14], eax
mov eax, dword [edi]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x12c], eax
push dword [eax + 0x24]
mov edi, dword [eax + 0x3c]
call fcn.00663360
mov esi, eax
add esp, 4
mov dword [ebp - 0x118], esi
cmp esi, edi
je 0x663182
mov eax, dword [ebp - 0x12c]
cmova edi, esi
mov esi, edi
mov dword [ebp - 0x118], esi
mov dword [eax + 0x3c], esi
push esi
call fcn.0067f046
add esp, 4
mov edi, eax
push esi
push dword [ebp - 0x134]
push edi
call fcn.00681610
add esp, 0xc
lea ecx, [ebx + 8]
call fcn.00661d00
mov eax, dword [ebp - 0x118]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x130]
mov dword [ebx + 8], edi
mov dword [ebx + 0x18], edi
mov ecx, dword [edi + 0x3c]
add ecx, edi
mov dword [ebx + 0x1c], ecx
movzx eax, word [eax + 0x14]
add eax, 0x18
add eax, ecx
mov ecx, ebx
mov dword [ebx + 0x20], eax
call fcn.00664e80
or dword [ebx + 0x28], 1
mov byte [ebx + 0x25], al
xor eax, eax
jmp 0x66333a
mov dword [ebp - 0x128], 0x3ce89980
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x124], 0x86cbe7f8
mov al, 0xfa
movq xmm0, qword [ebp - 0x128]
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x54]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x128], 0xdb7b7954
mov dword [ebp - 0x124], 0x49687e91
movq xmm0, qword [ebp - 0x128]
push eax
movq qword [ebp - 0x1b], xmm0
call fcn.0065e620
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00665930
mov ecx, eax
call fcn.0065e370
mov dx, word [esi + 0x18]
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x12c], 0xfffffff7
call fcn.006668c0
mov edi, eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x154]
call fcn.0064eb90
mov ebx, eax
mov dx, word [esi + 0x14]
lea ecx, [ebp - 0x144]
call fcn.006668c0
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x128]
call fcn.0064eb90
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
push ecx
lea ecx, [ebp - 0x110]
call fcn.006659e0
mov ecx, eax
call fcn.00653940
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x6632d0
mov eax, dword [eax]
push ecx
push edi
push ebx
push esi
push dword [ebp - 0x130]
mov edx, eax
push ecx
lea ecx, [ebp - 0x12c]
call fcn.006668e0
add esp, 0x18
lea ecx, [ebp - 0x6c]
mov esi, dword [eax]
call fcn.00650140
lea ecx, [ebp - 0x128]
call fcn.006607f0
lea ecx, [ebp - 0x144]
call fcn.006607f0
lea ecx, [ebp - 0x154]
call fcn.006607f0
lea ecx, [ebp - 0x164]
call fcn.006607f0
lea ecx, [ebp - 0x3c]
call fcn.00650140
lea ecx, [ebp - 0x54]
call fcn.00650140
mov eax, esi
jmp 0x66333a
mov eax, 0xfffffff7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067efea
mov esp, ebp
pop ebp
ret 8