Function at 0x435c8a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x471f1a
call fcn.00453e8c
sub esp, 0x328
push ebx
push esi
push edi
push 0x48d96c
xor ebx, ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x435cc1
push 0x48d95c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x94]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x34], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x30]
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x128]
mov dword [ebp - 0x12c], ebx
cmp esi, ebx
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xcccccccc
je 0x435d61
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
setne al
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x94], 0x40
call esi
test eax, eax
jne 0x435d56
mov dword [ebp - 0x10], ebx
jmp 0x435f70
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
jmp 0x435ecd
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00454540
push 0x44
lea eax, [ebp - 0x12c]
pop esi
push esi
push ebx
push eax
call fcn.00454540
add esp, 0x18
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x12c], esi
mov esi, 0x4755e0
mov edi, 0x4755d8
setne al
mov word [ebp - 0xfc], ax
lea eax, [ebp + 0x13]
push ebx
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa0], edi
call fcn.0040190c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xc8], edi
jne 0x435de1
mov eax, 0x493568
lea ecx, [ebp + 0xf]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xe8]
call fcn.004011a9
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 4], 1
cmp eax, ebx
mov dword [ebp - 0x20], 0x4755fc
je 0x435e0a
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], esi
cmp eax, ebx
mov dword [ebp - 0x3c], edi
jne 0x435e1c
mov eax, 0x493568
lea ecx, [ebp - 0x19]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004011a9
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x435e3a
mov eax, 0x4755fc
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc0]
push 0x48d94c
push eax
call fcn.00423c3a
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401093
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], bl
call fcn.00401093
mov eax, dword [ebp - 0xb8]
cmp eax, ebx
jne 0x435e7b
mov eax, 0x4755fc
push eax
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x334]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x435eb2
mov dword [ebp - 0x10], ebx
jmp 0x435ebe
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00401093
cmp dword [ebp - 0x10], ebx
je 0x435f70
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push ebx
push eax
push 1
pop esi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x435f46
cmp eax, esi
jne 0x435f46
push esi
push ebx
push ebx
lea eax, [ebp - 0x50]
push ebx
push eax
call edi
test eax, eax
je 0x435edc
cmp dword [ebp - 0x4c], 0xf
je 0x435f22
cmp dword [ebp - 0x4c], 0x113
jne 0x435f36
mov ecx, dword [ebp + 0x14]
push esi
call fcn.0042c7cf
jmp 0x435f36
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x435edc
jmp 0x435efa
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x497200], eax
je 0x435f6b
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x24], ebx
pop edi
pop esi
pop ebx
je 0x435f81
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], ecx
leave
ret 0x10