Function at 0x404820
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424ec8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x435054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov byte [ebp - 0x79], cl
mov dword [ebp - 4], 0
lea edx, [ebx + 8]
cmp dword [ebx + 0x1c], 8
xorps xmm0, xmm0
mov eax, dword [ebx + 0x18]
cmovae edx, dword [ebx + 8]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
movlpd qword [ebp - 0x64], xmm0
lea eax, [edx + eax*2]
movlpd qword [ebp - 0x5c], xmm0
lea edx, [ebx + 8]
movlpd qword [ebp - 0x54], xmm0
cmovae edx, dword [ebx + 8]
xor esi, esi
sub eax, edx
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x80], eax
xor ecx, ecx
sar eax, 1
cmp dword [ebp - 0x80], 2
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
jb 0x404962
cmp eax, 0x7fffffff
ja 0x404a7b
lea esi, [eax + eax]
cmp esi, 0x1000
jb 0x40492d
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x404a80
push eax
call fcn.0040deee
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x404a85
mov edx, dword [ebp - 0x84]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x404944
test esi, esi
je 0x404942
push esi
call fcn.0040deee
mov edx, dword [ebp - 0x84]
add esp, 4
jmp 0x404944
xor eax, eax
push dword [ebp - 0x80]
add esi, eax
mov dword [ebp - 0x20], eax
push edx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call fcn.0040f540
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x80], 0
cmp esi, ecx
je 0x40497c
xor eax, eax
mov word [esi], ax
add dword [ebp - 0x1c], 2
jmp 0x404989
lea eax, [ebp - 0x80]
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.00405f00
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4049d4
cmp byte [ebp - 0x79], 0
je 0x4049ce
push 0xffffffffffffffff
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x4049ce
push edi
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov byte [ebp - 0x79], 1
jmp 0x4049d8
mov byte [ebp - 0x79], 0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x404a24
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x404a05
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404a85
push ecx
push edx
call fcn.0040df1e
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x404a5a
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404a50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404a85
push edx
push ecx
call fcn.0040df1e
add esp, 8
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00406680
call fcn.00401100
call fcn.0041226f
int3