Function at 0x6875bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0x1c]
xor eax, eax
push ebp
push 0x6877cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
lea edi, [ebp - 0x58]
xor eax, eax
mov ecx, 0x11
rep stosd dword es:[edi], eax
mov edi, edx
mov edx, edi
lea edi, [ebp - 0x68]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, edx
mov dword [ebp - 0x58], 0x44
push ebp
lea eax, [ebp - 0x58]
call fcn.00687548
pop ecx
push ebp
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x58]
call fcn.00687568
pop ecx
mov byte [ebp - 0xd], al
test esi, esi
jne 0x68763c
lea esi, [ebp - 0xc]
test ebx, ebx
jne 0x68764c
lea edx, [ebp - 4]
mov eax, edi
call fcn.004258c8
jmp 0x687683
lea edx, [ebp - 0x180]
mov eax, ebx
call fcn.006870bc
push dword [ebp - 0x180]
push 0x6877ec
push edi
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.0040b520
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 4]
call fcn.004258c8
mov eax, dword [ebp - 0x14]
call fcn.0066a8a0
test al, al
je 0x6876cc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0066a880
push eax
push 0
mov eax, dword [0x7edb58]
push eax
cmp byte [ebp - 0xd], 1
cmc
sbb eax, eax
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0066a880
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x6876ed
push 0
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x7edb58]
mov edx, dword [ebp - 4]
call fcn.00686e40
mov ebx, eax
test bl, bl
jne 0x6876fe
cmp dword [ebp - 0x68], 0
jne 0x6876fe
call sub.KERNEL32.DLL_GetLastError
mov dword [esi], eax
test bl, bl
je 0x687768
cmp byte [ebp + 0x18], 0
je 0x687762
cmp dword [ebp + 8], 0
jne 0x687725
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
push esi
mov eax, dword [ebp - 0x68]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
jmp 0x687768
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x174], eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x178]
push eax
push 2
call sub.KERNEL32.DLL_WaitForMultipleObjects
cmp eax, 1
jne 0x687756
mov dword [esi], 0x5b4
jmp 0x687768
push esi
mov eax, dword [ebp - 0x68]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
jmp 0x687768
mov eax, dword [ebp - 0x60]
mov dword [esi + 4], eax
cmp byte [ebp - 0xd], 0
je 0x68778c
lea ecx, [ebp - 0x184]
mov dl, 1
mov eax, dword [ebp - 0x78]
call fcn.00687224
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp + 0xc]
call fcn.0040ab8c
lea eax, [ebp - 0x78]
call fcn.006873e8
lea eax, [ebp - 0x68]
call fcn.0068739c
lea eax, [ebp - 0x64]
call fcn.0068739c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6877d3
lea eax, [ebp - 0x184]
mov edx, 3
call fcn.0040a80c
lea eax, [ebp - 4]
call fcn.0040a7ac
pop eax
jmp eax