Function at 0x42ba20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea136
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa4], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc4]
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov edx, edi
mov dword [ebp - 0xa0], eax
call fcn.0042b830
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42bab4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00406270
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xb0]
cmp ecx, 8
jb 0x42bb04
mov edx, dword [ebp - 0xc4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bafa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bf5c
push ecx
push edx
call fcn.005a5f31
add esp, 8
cmp esi, dword [ebp - 0xa0]
je 0x42bc54
push 1
push 0x645e74
lea ecx, [ebp - 0x40]
call fcn.00406270
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42bb29
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bb50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xdc]
call fcn.00403460
lea edx, [ebp - 0xdc]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.0042b830
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42bb8f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00406270
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb0]
cmp ecx, 8
jb 0x42bbdf
mov edx, dword [ebp - 0xc4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bbd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bf5c
push ecx
push edx
call fcn.005a5f31
add esp, 8
xor eax, eax
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
cmp ecx, 8
jb 0x42bc3f
mov edx, dword [ebp - 0xdc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bc35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bf5c
push ecx
push edx
call fcn.005a5f31
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0xa0]
jne 0x42bb10
mov edi, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x42bd23
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42bc88
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404650
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x42bd23
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005c3679
mov esi, eax
add esp, 4
test esi, esi
je 0x42bd23
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [edi + 1]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
push esi
call fcn.005c3615
lea eax, [edi - 1]
add esp, 0xc
cmp word [esi + eax*2], 0x5c
lea eax, [esi + eax*2]
jne 0x42bd0b
xor ecx, ecx
mov word [eax], cx
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42bcf1
sub eax, edx
sar eax, 1
dec eax
cmp word [esi + eax*2], 0x5c
lea eax, [esi + eax*2]
je 0x42bce7
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x42bdc3
push esi
call fcn.0046768e
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x9c]
mov dword [esi], eax
mov byte [ebp - 0x95], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x42bd72
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bd68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bf61
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x42bf3b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bf31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bf61
jmp 0x42bf31
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bdd0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00404650
push esi
call fcn.005bccf3
add esp, 4
mov dword [ebp - 0x84], 0x44
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push edx
cmovae ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x84]
push edx
push eax
mov eax, dword [ebp - 0xa8]
push 0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
push dword [eax]
movlpd qword [ebp - 0x70], xmm0
push 0
push 0
push 0
push ecx
push 0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x94], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42beef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x9c]
mov ecx, eax
mov dword [esi], ecx
mov esi, dword [0x6830d8]
test esi, esi
je 0x42beb8
push ecx
push str.CreateProcess_failed__Error:__u
push 0x6424c4
push 0x6424c4
push str.ProcessUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x5feac0]
call esi
add esp, 0x1c
jmp 0x42bd31
mov eax, dword [0x6830dc]
test eax, eax
je 0x42bd31
mov esi, dword [eax]
push ecx
push str.CreateProcess_failed__Error:__u
push str.ProcessUtils
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x6424c4
push 0x32
push eax
call dword [0x5feac0]
call esi
add esp, 0x18
jmp 0x42bd31
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xac]
push dword [ebp - 0x94]
mov dword [esi], 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov byte [ebp - 0x95], 1
jmp 0x42bd38
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov al, byte [ebp - 0x95]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
ret
call fcn.005bd02a
call fcn.005bd02a
int3