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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5574d9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push ecx
mov ecx, eax
call fcn.0046eb90
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x47a062
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x47a094
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x28]
cmp dword [eax - 0xc], 0
je 0x479ebc
mov byte [ebp - 4], 3
mov eax, dword [ecx + 0x28]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x479e34
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x479e4c
call fcn.00430a50
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x47a09e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], 2
mov eax, dword [eax + 0x28]
push dword [eax - 0xc]
push eax
push 6
lea eax, [ebp - 0x1c]
push str._from
push eax
call fcn.0046c800
add esp, 0x14
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push eax
call fcn.00427b10
mov eax, 2
mov dword [ebp - 0x18], eax
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479eb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 8], 0
je 0x479ed4
push 6
push str.__show
lea ecx, [ebp - 0x10]
call fcn.0042d7c0
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 0xc], 0
je 0x479eec
push 0x14
push str.__ignore_check_today
lea ecx, [ebp - 0x10]
call fcn.0042d7c0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00428580
add eax, 0x10
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
push 1
push 0x56f36c
call fcn.0042d7c0
push dword [esi - 0xc]
lea ecx, [ebp + 8]
push esi
call fcn.0042d7c0
mov edi, dword [ebp + 8]
cmp dword [edi - 4], 1
jle 0x479f37
push dword [edi - 0xc]
lea ecx, [ebp + 8]
call fcn.00428670
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
movlpd qword [ebp - 0x70], xmm0
mov word [ebp - 0x32], ax
mov eax, 0xa
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x42], xmm0
movlpd qword [ebp - 0x3a], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 0x81
mov word [ebp - 0x44], ax
call fcn.0046efe0
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47a003
push 0x56db68
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x479faf
push 0x56db68
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x479ff4
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x479ff4
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
push 0
push edi
push 0
push 0
push dword [ebp + 0xc]
call eax
test eax, eax
je 0x479ff4
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
jne 0x47a029
cmp dword [esi - 4], 1
jle 0x47a017
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00428670
mov esi, dword [ebp - 0x10]
push 0xa
push 0
push esi
push dword [ebp - 0x14]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a047
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47a062
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x47a081
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 esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
int3