Function at 0x1001d8e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab54e
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x100db688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], 0
push 0
push eax
call fcn.10081e40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x22d]
call fcn.10011140
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1001dd39
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x1001d9b1
movzx eax, ax
lea ecx, [ebp - 0x224]
push eax
call fcn.1000ab30
jmp 0x1001d9e2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d9c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.10007260
mov dword [ebp - 0x228], 1
mov edi, dword [ebp - 0x224]
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001dcf7
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1001dd43
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 4], 2
mov ecx, dword [ecx + 0x28]
cmp dword [ecx - 0xc], 0
je 0x1001dae5
mov ecx, dword [ecx - 0x10]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1001da56
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x1001da6e
call fcn.10007040
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x1001dd4d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x228], 3
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax + 0x28]
push dword [eax - 0xc]
push eax
push 6
lea eax, [ebp - 0x220]
push str._from
push eax
call fcn.1000a370
add esp, 0x14
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
push eax
call fcn.100074b0
mov edx, dword [ebp - 0x220]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001dadf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
cmp dword [ebp + 8], 0
je 0x1001db03
push 6
push str.__show
lea ecx, [ebp - 0x21c]
call fcn.10011b10
mov esi, dword [ebp - 0x21c]
cmp dword [ebp + 0xc], 0
je 0x1001db21
push 0x14
push str.__ignore_check_today
lea ecx, [ebp - 0x21c]
call fcn.10011b10
mov esi, dword [ebp - 0x21c]
add edi, 0xfffffff0
push edi
call fcn.10006d00
add eax, 0x10
add esp, 4
mov dword [ebp - 0x220], eax
push 1
push 0x100b4580
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.10011b10
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
push esi
call fcn.10011b10
mov edi, dword [ebp - 0x220]
cmp dword [edi - 4], 1
jle 0x1001db7b
push dword [edi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.10006ed0
mov edi, dword [ebp - 0x220]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
xor eax, eax
movlpd qword [ebp - 0x280], xmm0
mov word [ebp - 0x242], ax
mov eax, 0xa
movlpd qword [ebp - 0x278], xmm0
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
movlpd qword [ebp - 0x260], xmm0
movlpd qword [ebp - 0x252], xmm0
movlpd qword [ebp - 0x24a], xmm0
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x284], 0x44
mov dword [ebp - 0x258], 0x81
mov word [ebp - 0x254], ax
call fcn.100139a0
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x1001dc8d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1001dc21
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1001dc78
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001dc78
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x284]
push ecx
push 0
push 0
push 0
push edi
push 0
push 0
push dword [ebp - 0x22c]
call eax
test eax, eax
je 0x1001dc78
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x228], 1
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], 0
jne 0x1001dcbc
cmp dword [esi - 4], 1
jle 0x1001dca7
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.10006ed0
mov esi, dword [ebp - 0x21c]
push 0xa
push 0
push esi
push dword [ebp - 0x224]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001dcda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001dcfa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001dcfa
or edi, 0xffffffff
mov edx, dword [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1001dd1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.10061c7c
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
int3