Function at 0x1007f400
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1013fba4
push eax
mov dword fs:[0], esp
mov eax, 0x1138
push ebx
call fcn.1013b6d0
push esi
push edi
push 0x30
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1c], ecx
push 0
push eax
mov dword [ebp - 0x18], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x28], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [ebp - 0x24]
mov ecx, 0x10000
mov edi, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
nop
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x24]
push edx
push ecx
mov ecx, dword [ebp - 0x1c]
call eax
cmp eax, 0xc000000d
je 0x1007f99d
cmp eax, 0xc0000022
je 0x1007f99d
cmp eax, 0xc000010a
je 0x1007f99d
test eax, eax
jne 0x1007f96b
cmp dword [ebp - 0xa0], 0x1000
jne 0x1007f96b
mov eax, dword [ebp - 0xb0]
cmp eax, 1
je 0x1007f96b
test eax, 0x100
jne 0x1007f96b
mov ecx, dword [ebp - 0xb4]
cmp edi, dword [ebp - 0xb8]
jne 0x1007f515
cmp esi, ecx
je 0x1007f96b
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x1148]
push 0
mov dword [ebp - 4], 1
push 0x1000
mov eax, dword [eax]
push edx
mov edx, dword [ebp - 0xb8]
push ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
push edx
call eax
test eax, eax
jne 0x1007f95f
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1148]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1148], cx
jne 0x1007f95f
cmp dword [eax], 0x4550
jne 0x1007f95f
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x1007f5b6
mov dword [ebp - 0x3c], 0
jmp 0x1007f5c7
mov edx, 0x20b
cmp cx, dx
jne 0x1007f5cd
mov dword [ebp - 0x3c], 1
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x1148]
mov ecx, dword [ebp - 0xb4]
xorps xmm0, xmm0
mov edx, dword [ebp - 0xb8]
push 0x1000
mov eax, dword [esi]
push edi
push 2
push ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x74], ecx
mov ecx, esi
push edx
mov dword [ebp - 0x78], edx
movlpd qword [ebp - 0x38], xmm0
mov byte [ebp - 0x30], 0
call eax
test eax, eax
jne 0x1007f867
sub esp, 0x18
cmp byte [esi + 0xe], 1
mov edx, esp
jne 0x1007f63d
mov esi, dword [ebp - 0x1144]
mov ecx, esi
mov dword [edx], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f630
jmp 0x1007f66b
mov esi, dword [ebp - 0x1140]
mov ecx, esi
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f660
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.100512a0
lea ecx, [ebp - 0x90]
call fcn.10065f30
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x1007f6f7
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x1007f6c9
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f6bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f9b5
push ecx
push edx
call fcn.1013b151
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x7c]
cmp ecx, 8
jb 0x1007f734
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f72a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f9b5
push ecx
push edx
call fcn.1013b151
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
jne 0x1007f753
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x90]
call fcn.1004fd90
or dword [ebp - 0x18], 2
jmp 0x1007f816
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x58]
lea eax, [esi - 1]
cmovae ecx, edi
setae byte [ebp - 0x11]
or edx, 0xffffffff
cmp eax, edx
cmovb edx, eax
cmp word [ecx + edx*2], 0x5c
lea eax, [ecx + edx*2]
je 0x1007f78d
nop dword [eax]
cmp eax, ecx
je 0x1007f796
sub eax, 2
cmp word [eax], 0x5c
jne 0x1007f780
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x1007f7ca
cmp byte [ebp - 0x11], 0
lea ecx, [ebp - 0x58]
cmovne ecx, edi
cmp word [ecx + edx*2], 0x2f
lea eax, [ecx + edx*2]
je 0x1007f7bd
nop word [eax + eax]
cmp eax, ecx
je 0x1007f73b
sub eax, 2
cmp word [eax], 0x2f
jne 0x1007f7b0
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x1007f73b
lea edx, [eax + 1]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
cmp esi, edx
jb 0x1007f9bb
sub esi, edx
lea eax, [ebp - 0x58]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp byte [ebp - 0x11], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x90]
lea eax, [eax + edx*2]
push eax
call fcn.100512a0
or dword [ebp - 0x18], 6
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x1007f850
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f846
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f9b5
push ecx
push edx
call fcn.1013b151
add esp, 8
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [ebp - 0x60], xmm0
jmp 0x1007f8d6
push 0x80
lea eax, [ebp - 0x148]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x74]
lea eax, [ebp - 0x148]
push dword [ebp - 0x78]
push str.Unknown_0x_I64x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x148]
add esp, 0x1c
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f8a0
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10050370
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
push eax
call fcn.10050370
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xc8]
call fcn.10068a50
mov edx, eax
mov byte [ebp - 4], 2
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x1007f91f
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [esi + 4], 8
jmp 0x1007f928
push edx
push ecx
mov ecx, esi
call fcn.1007a2f0
mov esi, dword [ebp - 0xc4]
test esi, esi
je 0x1007f953
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1007f953
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1007f953
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.1005e040
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xa4]
adc edx, dword [ebp - 0xbc]
cmp edx, 0x7fff
ja 0x1007f99d
jb 0x1007f490
cmp ecx, 0xfffeffff
jb 0x1007f490
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.100505c0
int3