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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4ff4f4]
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 eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00466d80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x4140ad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x413c82
movzx eax, ax
lea ecx, [ebp - 0x224]
push eax
call fcn.00411c10
jmp 0x413cb2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413c90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00408a90
push 0x4bfc1c
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040fea0
push 4
push dword [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00475396
add esp, 0x14
or ebx, 0xffffffff
test eax, eax
je 0x413ed0
push 0x4bfc38
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040fea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.0040fde0
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413d3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
push dword [ebp - 0x21c]
call fcn.00475396
add esp, 8
test eax, eax
je 0x413ed0
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413d66
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00408a90
push 0x4bfc60
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040fea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.0040fde0
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413dd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
push dword [ebp - 0x21c]
call fcn.00475396
add esp, 8
test eax, eax
je 0x413ed0
push str.UtilsDumpUper.exe
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040fea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
call fcn.0040fde0
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413e38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
push dword [ebp - 0x21c]
call fcn.00475396
add esp, 8
test eax, eax
je 0x413ed0
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413e62
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00408a90
push str.DumpUper.exe
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040fea0
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.0040fde0
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413ed0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], 0
je 0x413ee7
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413f12
mov ecx, 0x504710
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ef0
sub ecx, edx
sar ecx, 1
je 0x413f12
push ecx
push 0x504710
lea ecx, [ebp - 0x21c]
call fcn.00408a90
mov byte [ebp - 4], 7
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x4140b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov esi, dword [0x4ff140]
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push 0x504300
push 0x504508
push edi
push eax
mov eax, dword [ebp - 0x228]
cdq
push edx
push eax
lea eax, [ebp - 0x220]
push str.__pep_llu___pid_d___tid_d___src_s___ver_s___rep_d
push eax
call fcn.004079e0
add esp, 0x24
cmp dword [0x4ff144], 0
je 0x413f8e
push str.___restart
lea ecx, [ebp - 0x220]
call fcn.004107c0
mov eax, dword [0x5042fc]
test eax, eax
je 0x413fa3
push eax
lea ecx, [ebp - 0x220]
call fcn.004107c0
mov eax, dword [ebp - 0x21c]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x264]
push eax
movlpd qword [ebp - 0x25c], xmm0
mov dword [ebp - 0x24c], 0
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x23c], xmm0
movlpd qword [ebp - 0x234], xmm0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x264], 0x3c
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x260], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41403b
push 0xffffffffffffffff
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414052
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41406f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41408a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.0043af28
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004075c0
push 0x80004005
call fcn.004075c0
int3