Function at 0x43bb85
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x308
lea ebp, [esp - 4]
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0x308], eax
push 0x64
mov eax, 0x461224
call fcn.0045cea5
mov esi, dword [ebp + 0x314]
mov eax, dword [0x488018]
mov edi, 0x488018
cmp eax, edi
je 0x43bbde
test byte [eax + 0x1c], 1
je 0x43bbde
cmp byte [eax + 0x19], 4
jb 0x43bbde
push 0x46e4ec
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
push 0x48c1ac
lea ecx, [ebp - 0x14]
call fcn.00405f70
xor ebx, ebx
push ebx
push str.linkid
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00421978
test eax, eax
jl 0x43bc31
push dword [ebp + 0x318]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0043b49b
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00415c61
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402703
jmp 0x43bc3a
push esi
lea ecx, [ebp - 0x14]
call fcn.00415c61
cmp dword [ebp - 0x14], ebx
jne 0x43bc96
mov eax, dword [0x488018]
cmp eax, edi
je 0x43bc69
test byte [eax + 0x1c], 1
je 0x43bc69
cmp byte [eax + 0x19], 2
jb 0x43bc69
push 0x46e4ec
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
push 0xfffffffffffffff0
pop ecx
call fcn.00402703
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x308]
xor ecx, ebp
call fcn.0045ce96
add ebp, 0x30c
leave
ret
mov eax, dword [0x488018]
cmp eax, edi
je 0x43bcc6
test byte [eax + 0x1c], 1
je 0x43bcc6
cmp byte [eax + 0x19], 4
jb 0x43bcc6
push dword [ebp - 0x14]
mov esi, 0x46e4ec
push esi
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
jmp 0x43bccb
mov esi, 0x46e4ec
push 0x48c1ac
lea ecx, [ebp - 0x1c]
call fcn.00405f70
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.00431d6a
test eax, eax
pop ecx
je 0x43be44
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004069d3
push eax
lea eax, [ebp]
push eax
call fcn.0042aaec
add esp, 0xc
test eax, eax
jne 0x43bd29
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x46f6cc
lea eax, [ebp]
push eax
call esi
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call esi
mov esi, 0x46e4ec
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp]
push eax
push ebx
mov dword [ebp - 0x70], 0x44
mov word [ebp - 0x40], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43bdbc
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
mov eax, dword [0x488018]
cmp eax, edi
je 0x43bd9c
test byte [eax + 0x1c], 1
je 0x43bd9c
cmp byte [eax + 0x19], 4
jb 0x43bd9c
push 0x46e4ec
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402703
mov eax, ebx
jmp 0x43bc73
mov eax, dword [0x488018]
cmp eax, edi
je 0x43bdee
test byte [eax + 0x1c], 1
je 0x43bdee
cmp byte [eax + 0x19], 2
jb 0x43bdee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x488018]
push esi
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004213e2
add esp, 0x14
mov ecx, dword [0x48be0c]
push 0x158
lea eax, [ebp - 0x10]
push eax
add ecx, 0x828
call fcn.0042649f
mov ecx, dword [0x48be0c]
push 0x1f46
lea eax, [ebp - 0x18]
push eax
add ecx, 0x828
mov byte [ebp - 4], 3
call fcn.0042649f
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0x10]
jmp 0x43bebe
mov eax, dword [0x488018]
cmp eax, edi
je 0x43be6a
test byte [eax + 0x1c], 1
je 0x43be6a
cmp byte [eax + 0x19], 2
jb 0x43be6a
push esi
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
mov ecx, dword [0x48be0c]
push 0x158
lea eax, [ebp - 0x18]
push eax
add ecx, 0x828
call fcn.0042649f
mov ecx, dword [0x48be0c]
push 0x1f46
lea eax, [ebp - 0x10]
push eax
add ecx, 0x828
mov byte [ebp - 4], 4
call fcn.0042649f
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402703
mov eax, dword [0x488018]
cmp eax, edi
je 0x43bd9f
test byte [eax + 0x1c], 1
je 0x43bd9f
cmp byte [eax + 0x19], 4
jb 0x43bd9f
push esi
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
jmp 0x43bd9f