Function at 0x1003ff60
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eeb59
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
mov eax, dword [0x10142008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x654], edi
mov eax, dword [ebp + 0xc]
mov ecx, 0x1014614a
mov esi, dword [ebp + 8]
mov dword [ebp - 0x678], edi
mov dword [ebp - 0x674], eax
call fcn.100e3445
lea eax, [edi + 0x84]
mov dword [ebp - 0x654], eax
mov dword [ebp - 4], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 4
lea eax, [edi + 0x24]
push 0x60
push ecx
push eax
mov byte [edi + 0x9c], 1
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x66c]
push esi
call fcn.1001af80
mov byte [ebp - 4], 5
cmp dword [ebp - 0x65c], 0
jne 0x100401b2
mov dword [ebp - 0x654], 0
mov byte [ebp - 4], 6
mov eax, dword [0x101430f8]
mov dword [ebp - 0x654], 0x101430f8
test eax, eax
je 0x10040068
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 7
mov ecx, dword [0x10143118]
test ecx, ecx
je 0x1004009f
cmp dword [0x1014311c], 8
mov eax, 0x10143108
push ecx
cmovae eax, dword [0x10143108]
lea ecx, [ebp - 0x66c]
push eax
call fcn.10003530
mov byte [ebp - 4], 8
jmp 0x10040187
push 0x20c
lea eax, [ebp - 0x23c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x10040183
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x650]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x650]
push 0x208
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10040145
test eax, eax
je 0x10040145
add eax, eax
cmp eax, 0x412
jae 0x100402f0
xor ecx, ecx
mov word [ebp + eax - 0x650], cx
lea ecx, [ebp - 0x650]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10040132
lea eax, [ebp - 0x650]
jmp 0x10040161
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10040150
lea eax, [ebp - 0x23c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x66c]
call fcn.10003530
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x654]
call fcn.10002760
jmp 0x100401a5
mov byte [ebp - 4], 9
mov eax, dword [0x101430f8]
test eax, eax
je 0x10040197
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x654], 0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x65c], 0
je 0x100402b0
mov eax, dword [ebp - 0x674]
cmp dword [eax + 0x10], 0
je 0x100402b0
push eax
lea edx, [ebp - 0x66c]
lea ecx, [ebp - 0x28]
call fcn.100a0bd0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x66c]
cmp eax, esi
je 0x10040215
mov ecx, eax
call fcn.10003460
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x66c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x65c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.10003460
mov byte [ebp - 4], 5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x43002e
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], 0x650068
mov dword [ebp - 0x28], 0x6b0063
mov dword [ebp - 0x24], 0x740053
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x740061
mov dword [ebp - 0x14], 0x61
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10040267
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x66c]
call fcn.1001d850
lea eax, [ebp - 0x66c]
lea ecx, [edi + 0x84]
cmp ecx, eax
je 0x100402b0
cmp dword [ebp - 0x658], 8
push dword [ebp - 0x65c]
cmovae eax, dword [ebp - 0x66c]
push eax
call fcn.10003530
mov ecx, edi
call fcn.10040470
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x66c]
call fcn.10003460
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e0d24
mov esp, ebp
pop ebp
ret 0xc
call fcn.100e1736
int3