Function at 0x410270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495ed0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4ba110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0xbc]
push ebx
push eax
call fcn.00474610
add esp, 0xc
push 0xffffffffffffffff
mov ecx, 3
push ebx
mov word [ebp - 0x8c], cx
xor edx, edx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.0040b320
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x410393
push 1
xor eax, eax
push 0x4a80f0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.0040b930
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
lea eax, [esi + 8]
je 0x410366
cmp dword [eax + 0x10], 0
je 0x410373
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
mov ebx, eax
call fcn.0040cc50
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040b700
cmp dword [ebp - 0x50], 8
jb 0x410373
mov eax, dword [ebp - 0x64]
push eax
call fcn.00473515
add esp, 4
jmp 0x410373
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b320
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], 8
jb 0x410389
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00473515
add esp, 4
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x4102f9
mov esi, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x4103a3
lea esi, [ebp - 0x2c]
mov edx, dword [0x4bb674]
mov dword [ebp - 0x68], edx
test esi, esi
je case.0x4104b5.78
mov eax, esi
shr eax, 0x10
test eax, eax
jne 0x410472
movzx eax, si
push eax
lea ecx, [ebp - 0x68]
call fcn.00401720
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0xbc]
push edx
push 0
push 0
push 0
push 1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
mov eax, dword [eax - 8]
push 0
push 0
push eax
lea ecx, [ebp - 0x68]
call fcn.00401810
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp byte [ebp + 0x10], 0
je 0x41040e
mov eax, dword [ebp - 0x78]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x74]
push edx
call esi
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x410445
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x410445
push esi
call fcn.00473f58
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x410456
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047421a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je case.0x4104b5.78
push ebx
lea ecx, [ebp - 0x68]
call fcn.00401970
test eax, eax
je case.0x4104b5.78
mov ecx, dword [ebp - 0x68]
lea eax, [ebx + ebx]
push eax
push esi
add eax, 2
push eax
push ecx
call fcn.00473c51
add esp, 0x10
cmp eax, 0x50
ja case.0x4104b5.1
movzx edx, byte [eax + 0x4104ec]
jmp dword [edx*4 + 0x4104dc]
push 0x8007000e
call fcn.00401000
push 0x80070057
call fcn.00401000
push 0x80004005
call fcn.00401000
mov edi, edi
leave
add eax, dword [ecx]
mov esp, 0xc6004104
add al, 65
add al, dl
add al, 0x41
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3