Function at 0x46c540
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x531746
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
call fcn.0046c4d0
test al, al
je 0x46c7f5
cmp dword [esi + 0x620], 0
je 0x46c7f5
push 0x5670ac
lea ecx, [esp + 0x78]
call fcn.00450db2
xor ebp, ebp
mov dword [esp + 0x148], ebp
mov ecx, dword [esi + 0x71c]
mov eax, dword [ecx]
jmp 0x46c5c5
cmp dword [eax + 0x21c], 2
je 0x46c5cb
mov eax, dword [eax]
cmp ecx, eax
jne 0x46c5ba
jmp 0x46c5df
add eax, 0x6c
lea ecx, [esp + 0x74]
cmp ecx, eax
je 0x46c5df
push 0xffffffffffffffff
push ebp
push eax
call fcn.00451010
xor eax, eax
push 0x7e
mov word [esp + 0xc0], ax
lea eax, [esp + 0xc2]
push ebp
push eax
call fcn.00508660
add esp, 0xc
lea eax, [esp + 0xbc]
push dword [esi + 0x72c]
push 0x5670b0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x5c]
call fcn.004863b9
xor ebx, ebx
lea eax, [esp + 0x5c]
inc ebx
lea ecx, [esp + 0xa4]
push eax
mov edx, 0x5670bc
mov byte [esp + 0x14c], bl
call fcn.00465fd2
mov byte [esp + 0x14c], 2
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp], 0x5670b8
call fcn.00465f56
pop ecx
push eax
lea ecx, [esp + 0x60]
call fcn.004615ab
push ebp
push ebx
lea ecx, [esp + 0x94]
call fcn.004510e8
push ebp
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x150], bl
call fcn.004510e8
mov edi, 0x5670c0
push edi
call fcn.00450d8e
pop ecx
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.0045437e
mov edi, str._HostLang
push edi
call fcn.00450d8e
pop ecx
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.0045437e
push 0xffffffffffffffff
push ebp
lea eax, [esi + 0x5e0]
push eax
lea ecx, [esp + 0x68]
call fcn.004542e8
mov esi, str._HostVersion
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.0045437e
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x68]
call fcn.004542e8
mov esi, str._HostHwnd
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.0045437e
lea eax, [esp + 0xbc]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x64]
call fcn.0045437e
cmp dword [0x59735c], 0
je 0x46c780
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xa4]
call fcn.004820e9
mov byte [esp + 0x148], 3
cmp dword [eax + 0x14], 0x10
jb 0x46c755
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___Fork_install_dependent:__n__s
push 3
push dword [0x59735c]
call fcn.0048161a
add esp, 0x14
lea ecx, [esp + 0xa4]
push ebp
push ebx
call fcn.0044ea67
xor eax, eax
lea edi, [esp + 0x8c]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
push ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00508660
add esp, 0xc
mov dword [esp + 0x14], esi
xor eax, eax
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x70], 8
lea ecx, [esp + 0x8c]
mov word [esp + 0x44], ax
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
push ecx
xor ecx, ecx
push ecx
push ecx
push 0x8000000
push ebx
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor ebp, ebp
lea ecx, [esp + 0x5c]
push ebp
push ebx
call fcn.004510e8
push ebp
push ebx
lea ecx, [esp + 0x7c]
call fcn.004510e8
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00503aee
add esp, 0x138
ret