Function at 0x435970
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5323e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
mov eax, dword [esp + 0x2bc]
mov ecx, dword [esp + 0x2b8]
push ebx
push ebp
push esi
push edi
xor edi, edi
push eax
push ecx
mov dword [esp + 0x24], edi
call fcn.004358b0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 8
test eax, eax
jne 0x435a7c
call ebx
mov esi, eax
mov eax, dword [0x598d50]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c0], edi
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c0], 1
mov dword [esp + 0x18], eax
push 0x5925e8
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c4], 2
call fcn.00512074
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
push eax
call fcn.0051231b
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00434040
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xc6
call fcn.00512508
push 0x5925dc
lea ecx, [esp + 0x18]
call fcn.005122c7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0x10
push ecx
push edx
push edi
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c0], 1
call fcn.00511eeb
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 0
call fcn.00511eeb
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00511eeb
lea eax, [esp + 0xb0]
push 0x104
push eax
call fcn.00433ca0
add esp, 8
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0xaf]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x435ac0
lea edx, [esp + 0xb0]
push 0x5909e8
push edx
call esi
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x1b4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1b4]
push 0x5925d0
push edx
call esi
call fcn.004383f0
test eax, eax
je 0x435b44
mov edx, dword [esp + 0x2d0]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x30]
lea ecx, [esp + 0xb0]
push edx
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x5925c8
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
jmp 0x435d5a
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x6c]
mov edx, dword [esp + 0x2d0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x6c]
push eax
xor edi, edi
push ecx
push edi
push edi
push 0x28
push edi
push edi
push edi
lea eax, [esp + 0x1d4]
push edx
push eax
mov dword [esp + 0x94], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x435c55
call ebx
mov esi, eax
mov eax, dword [0x598d50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c0], 3
mov dword [esp + 0x10], eax
mov bl, 4
mov byte [esp + 0x2c0], bl
mov dword [esp + 0x18], eax
push 0x5925ac
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c4], 5
call fcn.00512074
mov ecx, dword [esp + 0x14]
push esi
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
push eax
call fcn.0051231b
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00434040
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xc6
call fcn.00512508
push 0x5925a0
lea ecx, [esp + 0x14]
call fcn.005122c7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 0x10
push eax
push ecx
push edi
call ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x2c0], bl
call fcn.00511eeb
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c0], 3
call fcn.00511eeb
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00511eeb
jmp 0x435d56
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x435d56
cmp eax, 0xffffffff
je 0x435d56
push 0x3e8
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x435d2e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x435d36
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x435d36
mov eax, dword [0x598d50]
mov dword [esp + 0x10], eax
mov ebx, 6
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x18], eax
push ecx
lea ecx, [esp + 0x14]
push 0x592574
push ecx
mov byte [esp + 0x2cc], 7
call fcn.0050a945
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xc6
call fcn.00512508
push 0x592568
lea ecx, [esp + 0x14]
call fcn.005122c7
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push 0x10
push edx
push eax
push edi
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c0], bl
call fcn.00511eeb
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00511eeb
jmp 0x435d36
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x435d4b
push eax
call esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x435d56
push eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b4
ret