Function at 0x412c60
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45a73d
mov eax, dword fs:[0]
push eax
mov eax, 0x1498
call fcn.004421c0
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x1494], eax
push ebx
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x14a8]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
cmp edi, ebx
je 0x41304e
cmp dword [esp + 0x1c], 3
jl 0x41304e
mov esi, dword [edi + 4]
lea eax, [esp + 0xe8c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
mov edi, edi
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x412d00
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x412d00
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x412ce0
jmp 0x412d04
cmp edx, ebx
jne 0x412d07
sub eax, 2
xor edx, edx
mov word [eax], dx
xor eax, eax
mov word [esp + 0x1092], ax
mov eax, dword [edi + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412d20
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x41304e
lea ecx, [esp + 0xe8c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412d56
mov eax, 2
jmp 0x413053
lea edx, [esp + 0xe8c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040fd40
push 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
mov dword [esp + 0x14b8], ebx
call fcn.0040e5b0
push str..dmp
mov ecx, eax
mov byte [esp + 0x14b4], 1
call fcn.0040c390
test eax, eax
lea ecx, [esp + 0x10]
setne bl
call fcn.0040ae80
or esi, 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x14b0], esi
call fcn.0040ae80
test bl, bl
je 0x412dbd
lea eax, [esi + 4]
jmp 0x413053
mov edx, dword [edi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0040fd40
push ecx
lea eax, [esp + 0xe94]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x14bc], 2
call fcn.0040fd40
lea ecx, [esp + 0x55c]
mov dword [esp + 0x14b8], esi
call fcn.0041ed70
mov eax, dword [edi + 0xc]
xor bl, bl
mov dword [esp + 0x14b0], 3
test eax, eax
je 0x412e23
push eax
call fcn.004420a6
add esp, 4
cmp eax, 1
jne 0x412e23
mov bl, al
mov eax, dword [edi + 0xc]
test eax, eax
je 0x412e62
push eax
call fcn.004420a6
add esp, 4
cmp eax, 2
jne 0x412e62
push 1
push 0
lea ecx, [esp + 0x55c]
call fcn.004223b0
lea ecx, [esp + 0x554]
mov dword [esp + 0x14b0], esi
call fcn.0040e850
xor eax, eax
jmp 0x413053
lea ecx, [esp + 0x18]
push ecx
call fcn.00423560
add esp, 4
mov eax, dword [eax]
push 1
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x14bc], 4
call fcn.00412b40
lea ecx, [esp + 0x18]
mov byte [esp + 0x14b0], 6
call fcn.0040ae80
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x109e]
push eax
mov dword [esp + 0x30], 0x104
mov word [esp + 0x10a0], dx
call fcn.00440500
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1098]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test bl, bl
jne 0x413003
push 0x208
lea eax, [esp + 0x12a0]
push 0
push eax
call fcn.00440500
add esp, 0xc
push 0x104
lea ecx, [esp + 0x12a0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x129c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360safe.exe
lea eax, [esp + 0x12a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x129c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412f86
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.EnableUE
push str.SOFTWARE360Safe
push 0x80000001
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 4
mov dword [esp + 0x2c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x412f86
cmp dword [esp + 0x10], 1
sete bl
test bl, bl
jne 0x413003
xor edx, edx
cmp dx, word [esp + 0x1094]
je 0x413003
lea eax, [esp + 0x1094]
push str.SYSTEM
push eax
call fcn.00441ffd
add esp, 8
test eax, eax
je 0x413003
cmp dword [esp + 0x1d0], 0
jne 0x413011
mov edx, dword [edi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0040fd40
lea eax, [esp + 0x558]
push eax
lea ecx, [esp + 0x30]
call fcn.00415d80
push 0
mov byte [esp + 0x14b4], 7
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x30]
call fcn.0040ea70
lea ecx, [esp + 0x28]
mov byte [esp + 0x14b0], 6
call fcn.00415720
jmp 0x41301f
cmp dword [esp + 0x1d0], 0
jne 0x413011
test bl, bl
je 0x41301f
push 0
lea ecx, [esp + 0x558]
call fcn.00422fd0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x14b0], 3
call fcn.0040e430
lea ecx, [esp + 0x554]
mov dword [esp + 0x14b0], esi
call fcn.0040e850
xor eax, eax
jmp 0x413053
mov eax, 1
mov ecx, dword [esp + 0x14a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1494]
xor ecx, esp
call fcn.004404e6
add esp, 0x14a4
ret