Function at 0x426640
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x434259
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
push edi
call fcn.00428bf0
cmp dword [eax + 0x14], 2
sete al
test al, al
je 0x42685a
call fcn.00428bf0
cmp dword [eax + 8], 4
jbe 0x42685a
lea eax, [esp + 0x64]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x42681e
cmp eax, 0x104
jae 0x42681e
push 0x447a00
lea ecx, [esp + 0x68]
push str.rundll32
push ecx
lea edx, [esp + 0x174]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__makepath]
add esp, 0x14
lea ecx, [esp + 0xc]
push str.rundll32.exe_printui.dll_PrintUIEntry__k__n__
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x27c]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x278], 0
call sub.MFC42.DLL_CString::operator
push 0x44552c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x6c]
push ecx
push 0
push 0x20
push 0
push 0
push 0
lea eax, [esp + 0x188]
push edx
push eax
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x426773
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.NTestPrint::PrintTestPage___Fail_to_TestPrint__GetLastError___lu_
push 1
call fcn.00426150
push eax
call dword [sym.imp.CwLogging.dll_public:_void___cdecl_CwLogging::LogWrite_unsigned_long_int__char_const__]
push 0xffffffffffffffff
jmp 0x4267c0
mov ecx, dword [esp + 0x10]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov esi, eax
call edi
mov eax, dword [esp + 0x10]
push eax
call edi
test esi, esi
je 0x426812
cmp esi, 0x102
je 0x426806
cmp esi, 0xffffffff
je 0x4267f8
push esi
push str.NTestPrint::PrintTestPage___Fail_to_WaitForSingleObject____Result___lu_
push 1
call fcn.00426150
push eax
call dword [sym.imp.CwLogging.dll_public:_void___cdecl_CwLogging::LogWrite_unsigned_long_int__char_const__]
push 0
call fcn.004269a0
add esp, 0x14
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x274], 0xffffffff
call fcn.0042ebf6
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
add esp, 0x26c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.NTestPrint::PrintTestPage___Fail_to_WaitForSingleObject_____GetLastError___lu_
jmp 0x4267b0
push 0x1388
push str.NTestPrint::PrintTestPage___WaitForSingleObject___Timeout__Wait_Time___u_
jmp 0x4267b0
push 0
call fcn.004269a0
add esp, 4
jmp 0x4267c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.NTestPrint::PrintTestPage___GetSystemDirectory___failed:_LastErr___lu
push 1
call fcn.00426150
push eax
call dword [sym.imp.CwLogging.dll_public:_void___cdecl_CwLogging::LogWrite_unsigned_long_int__char_const__]
push 0xffffffffffffffff
call fcn.004269a0
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
add esp, 0x26c
ret
mov ebx, dword [esp + 0x27c]
test ebx, ebx
jne 0x426882
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
add esp, 0x26c
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4268ad
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
add esp, 0x26c
ret
push 0x78
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x274], 1
je 0x4268d5
mov ecx, eax
call fcn.004269e0
mov esi, eax
jmp 0x4268d7
xor esi, esi
test esi, esi
mov dword [esp + 0x274], 0xffffffff
jne 0x426903
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
add esp, 0x26c
ret
mov ecx, dword [esp + 0x280]
push ecx
push ebx
mov ecx, esi
call fcn.00426c10
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x426973
call fcn.00427160
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x426973
call fcn.004271b0
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x426973
call fcn.004273e0
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x426973
call fcn.004279e0
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x426973
call fcn.00427b10
mov ecx, esi
call fcn.00428830
mov edi, eax
mov ecx, esi
test edi, edi
jne 0x426973
call fcn.00428720
mov ecx, esi
call fcn.00427aa0
mov edi, eax
mov ecx, esi
call fcn.00426af0
push esi
call sub.MFC42.DLL_operatordelete
push edi
call fcn.004269a0
mov ecx, dword [esp + 0x274]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x26c
ret