Function at 0x412cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69dce7
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x412d00
push str.Parameter_error:com_is_empty._r_n
call fcn.0066610b
add esp, 4
or eax, 0xffffffff
jmp 0x412f37
mov edx, dword [ebp + 8]
push edx
call fcn.00666b8d
add esp, 4
mov ecx, dword [ebp - 0x134]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x134]
cmp dword [edx + 8], 1
jge 0x412d36
push str.Parameter_error:com___1._r_n
call fcn.0066610b
add esp, 4
or eax, 0xffffffff
jmp 0x412f37
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.0040dc60
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.004014f0
cmp eax, 4
jge 0x412d70
push str.Parameter_error:path_is_error._r_n
call fcn.0066610b
add esp, 4
or eax, 0xffffffff
jmp 0x412f37
push 4
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.004137c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00413770
push 0x6cbdc0
lea edx, [ebp - 0x10]
push edx
call fcn.00413840
add esp, 8
movzx eax, al
test eax, eax
je 0x412ed0
lea ecx, [ebp - 0x124]
call fcn.00401490
mov byte [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0049f360
add esp, 8
push 0
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.004018a0
push eax
push str._binGD32printhex2bin.exe
lea edx, [ebp - 0x11c]
push edx
push str._s_s__s
lea eax, [ebp - 0x124]
push eax
call fcn.004017f0
add esp, 0x14
mov ecx, dword [ebp - 0x124]
push ecx
push 0x6cbdec
call fcn.0066610b
add esp, 8
push 0
lea ecx, [ebp - 0x124]
call fcn.00489570
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.004014f0
sub eax, 4
push eax
lea edx, [ebp - 0x128]
push edx
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.00401270
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.0040fe20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.004014d0
push 0x6cbdf4
mov ecx, dword [ebp - 0x134]
add ecx, 0xc
call fcn.0040e920
mov edx, dword [ebp - 0x120]
push edx
push str.lastError_Code_d_r_n
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.004014d0
jmp 0x412f18
push 0x6cbe10
lea eax, [ebp - 0x10]
push eax
call fcn.00413840
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x412eea
jmp 0x412f18
push str.Down_Printer_Boot_file_failed_PATH_EXT_Error__r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x12c], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov eax, dword [ebp - 0x12c]
jmp 0x412f37
mov dword [ebp - 0x130], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 8