Function at 0x101af480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101fbaf1
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, edx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ecx
jne 0x101af4ff
mov ecx, 8
cmp dword [edi + 0x18], ecx
jb 0x101af4e6
mov eax, dword [edi + 4]
jmp 0x101af4e9
lea eax, [edi + 4]
cmp dword [esi + 0x18], ecx
jb 0x101af4f3
mov ecx, dword [esi + 4]
jmp 0x101af4f6
lea ecx, [esi + 4]
call fcn.1019c610
cmp al, bl
jne 0x101af526
push edi
call fcn.1019b780
add esp, 4
test al, al
je 0x101af515
push edi
call fcn.101a4d80
add esp, 4
mov eax, edi
mov ecx, esi
call fcn.1019bc30
test al, al
je 0x101af7af
push 0x44
lea ecx, [esp + 0x50]
push ebx
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
mov dword [esp + 0xe0], ebx
lea esi, [esp + 0x98]
call fcn.1019fb00
cmp dword [edi + 0x18], 8
jb 0x101af586
mov eax, dword [edi + 4]
jmp 0x101af589
lea eax, [edi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__wcsdup]
add esp, 4
cmp dword [esp + 0xb0], 8
mov esi, eax
mov eax, dword [esp + 0x9c]
jae 0x101af5ad
lea eax, [esp + 0x9c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
push ebx
push ebx
push 1
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp dword [esp + 0x18], ebx
je 0x101af623
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov dword [esp + 0xe0], 0xffffffff
cmp dword [esp + 0xb0], 8
jb 0x101af613
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb0], 7
jmp 0x101af7a0
call fcn.101a75c0
test al, al
mov esi, 7
je 0x101af748
push 0xffffffffffffffff
push ebx
mov eax, edi
lea ecx, [esp + 0xbc]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
call fcn.10007880
mov byte [esp + 0xe0], 1
mov edx, 0x1022fcf8
lea eax, [esp + 0x30]
call fcn.10007690
mov byte [esp + 0xe0], 2
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0xc8]
mov word [ecx + 4], bx
call fcn.10007880
mov byte [esp + 0x108], 3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x100]
mov word [ecx + 4], bx
call fcn.10007880
mov byte [esp + 0x124], 4
mov byte [esp + 0x124], 2
call fcn.101c63e0
add esp, 0x44
mov byte [esp + 0xe0], 1
mov edi, 8
cmp dword [esp + 0x48], edi
jb 0x101af705
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0xcc], edi
jb 0x101af732
mov ecx, dword [esp + 0xb8]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 0x2c]
cmp edi, ebx
je 0x101af774
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x101af76d
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x2c], ebx
mov dword [esp + 0xe0], 0xffffffff
cmp dword [esp + 0xb0], 8
jb 0x101af799
mov edx, dword [esp + 0x9c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb0], esi
mov word [esp + 0x9c], bx
mov dword [esp + 0xac], ebx
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 4