Function at 0x42268f
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xc0
mov eax, 0x4b1165
call fcn.0047a6c1
mov edi, ecx
mov dword [ebp - 0x74], edi
mov ecx, dword [edi + 0x1c]
xor ebx, ebx
test ecx, ecx
je 0x4226c3
cmp dword [edi + 0x20], ebx
jne 0x4226ba
test ecx, ecx
je 0x4226c3
cmp dword [edi + 0x20], ebx
jne 0x4226c3
cmp dword [edi + 0x10], ebx
jne 0x42295d
lea esi, [edi + 0xf0]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4226d3
mov eax, dword [esi]
push eax
push 0x4bb768
call fcn.004320d1
pop ecx
pop ecx
test eax, eax
jne 0x4226ec
mov ecx, dword [edi + 4]
call fcn.0041c828
xor eax, eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], ebx
jb 0x42270c
mov eax, dword [esi]
push 0x4bb768
push eax
lea eax, [ebp - 0x58]
push str._s_s
push eax
call fcn.00432c76
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], eax
add esp, 0x10
cmp ecx, eax
je 0x42273d
call fcn.00411fa2
push dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.00411ee1
lea ecx, [ebp - 0x58]
call fcn.00411fa2
cmp dword [esi + 0x14], 8
jb 0x42274d
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x4bcaa4
lea ecx, [ebp - 0x28]
call fcn.00410cc6
mov byte [ebp - 4], 1
cmp dword [edi + 0x18], ebx
je 0x4227a5
cmp dword [0x4e30e4], 8
mov ecx, 0x4e30d0
mov eax, 0x4e30b8
cmovae ecx, dword [0x4e30d0]
cmp dword [0x4e30cc], 8
push ecx
cmovae eax, dword [0x4e30b8]
push eax
lea eax, [ebp - 0x58]
push str._l__s__s
push eax
call fcn.00432c76
add esp, 0x10
jmp 0x4227ca
cmp dword [0x4e30e4], 8
mov eax, 0x4e30d0
cmovae eax, dword [0x4e30d0]
push eax
lea eax, [ebp - 0x58]
push str._l__s
push eax
call fcn.00432c76
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4227e3
mov ecx, eax
call fcn.00411fa2
push esi
lea ecx, [ebp - 0x28]
call fcn.00411ee1
lea ecx, [ebp - 0x58]
call fcn.00411fa2
cmp dword [ebp + 8], 0
je 0x42285f
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x70]
push eax
call fcn.0041c531
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x42280b
mov ecx, dword [ecx]
cmp dword [0x4e30fc], 8
mov eax, 0x4e30e8
push ecx
cmovae eax, dword [0x4e30e8]
push eax
lea eax, [ebp - 0x58]
push str.__s_s
push eax
call fcn.00432c76
add esp, 0x10
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 3
jb 0x42283f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00411fe6
lea ecx, [ebp - 0x58]
call fcn.00411fa2
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00411fa2
push 0x44
pop esi
push esi
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.0047bc10
xor eax, eax
mov dword [ebp - 0xcc], esi
add esp, 0xc
lea edi, [ebp - 0x88]
stosd dword es:[edi], eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
push 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
pop edi
cmp dword [ebp - 0x14], edi
push edx
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0xcc]
cmp dword [ebp - 0x2c], edi
push edx
cmovae eax, dword [ebp - 0x40]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x4228c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [ebp - 0x7c]
cmp dword [ebp - 0x14], edi
lea edx, [ebp - 0x28]
push dword [ebp - 0x80]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], edi
push ebx
cmovae ecx, dword [ebp - 0x40]
push esi
push edx
push ecx
push str.CUpdateCtrl::_startYY__strYYPath_s__strParams_s__bResult_d__dwErrorCode_d__dwPID_d__dwTID_d
call fcn.004336ac
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x1c
push dword [ebp - 0x88]
call esi
push dword [ebp - 0x84]
call esi
mov esi, dword [ebp - 0x74]
mov ecx, esi
call fcn.0042252c
mov ecx, dword [esi + 4]
call fcn.0041c3c0
lea ecx, [ebp - 0x28]
call fcn.00411fa2
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jb 0x42295d
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], ecx
cmp eax, 0x1000
jb 0x422954
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x74]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
call fcn.0047a67f
ret 4