Function at 0x815954
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x43
push 0
push 0
dec ecx
jne 0x81595c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x8168e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.0068e818
mov edx, dword [0x68842c]
call fcn.00408494
mov ebx, eax
test ebx, ebx
je 0x8168b1
mov edx, 0x816904
mov eax, ebx
call fcn.0068ea08
call fcn.0068daa4
mov edx, dword [0x68958c]
call fcn.00408494
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x8168b1
mov eax, dword [ebp - 0x3c]
call fcn.0068fed8
dec eax
test eax, eax
jl 0x8168b1
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
call fcn.0068fed0
mov edx, dword [0x68842c]
call fcn.00408494
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x8168a5
xor edx, edx
push ebp
push 0x815a5f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x816924
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 0x24]
movzx eax, byte [0x816948]
push eax
lea eax, [ebp - 0xb4]
push eax
xor ecx, ecx
mov edx, 0x816958
mov eax, dword [ebp - 0x28]
call fcn.0042ae5c
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x28]
call fcn.0040a384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x815a7d
xor ecx, ecx
push ebp
push 0x816888
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, 0x816968
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xc]
call fcn.008138ac
mov edx, 0x81697c
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x22
jne 0x815aeb
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, 1
call fcn.0040b090
mov edx, dword [ebp - 0x14]
mov eax, edx
test eax, eax
je 0x815af9
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 2], 0x22
jne 0x815b1d
mov eax, edx
test eax, eax
je 0x815b0f
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 0x14]
mov ecx, 1
xchg edx, eax
call fcn.0040b090
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x14]
call fcn.00813860
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x14]
call fcn.0040a384
lea eax, [ebp - 0x10]
call fcn.00813824
lea eax, [ebp - 0x5c]
push eax
call sub.ole32.dll_CoCreateGuid
push dword [ebp - 0x10]
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0x5c]
call fcn.00813910
push dword [ebp - 0xc0]
push 0x81699c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040af60
mov eax, dword [ebp - 0x10]
call fcn.00423c3c
cmp dword [ebp - 0x28], 0
je 0x815b8e
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x28]
call fcn.0040ae80
jmp 0x815bb7
push dword [ebp - 0x10]
lea edx, [ebp - 0xc4]
lea eax, [ebp - 0x5c]
call fcn.00813910
push dword [ebp - 0xc4]
push 0x8169ac
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040af60
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x10]
call fcn.00424130
mov eax, dword [ebp - 0xc8]
mov edx, 0x8169ac
call fcn.0040b010
je 0x815be4
lea eax, [ebp - 0x10]
mov edx, 0x8169ac
call fcn.0040ae80
lea ecx, [ebp - 0xd0]
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.0043f380
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.0042249c
mov eax, dword [ebp - 0xcc]
mov edx, 0x8169c4
call fcn.0040b010
je 0x815fb7
xor eax, eax
push ebp
push 0x815e59
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0080d668
mov eax, dword [ebp - 0x24]
mov edx, 0x8169dc
call fcn.0040b010
je 0x815d14
mov dword [ebp - 0x44], 1
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x24]
push 0x8169f8
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0xe0]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xdc]
call fcn.008138ac
push dword [ebp - 0xdc]
push 0x816a68
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x44]
call fcn.004231c8
push dword [ebp - 0xe4]
push 0x816a7c
lea eax, [ebp - 0xd8]
mov edx, 6
call fcn.0040af60
mov edx, dword [ebp - 0xd8]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
call fcn.00808018
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0080d668
mov eax, dword [ebp - 0x24]
mov edx, 0x8169dc
call fcn.0040b010
je 0x815d14
imul eax, dword [ebp - 0x44], 0x2710
push eax
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 0x1f
jne 0x815c54
mov eax, dword [ebp - 0x24]
mov edx, 0x8169dc
call fcn.0040b010
je 0x815e4c
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x24]
push 0x816a98
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0xf4]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.008138ac
push dword [ebp - 0xf0]
push 0x816a68
lea eax, [ebp - 0xec]
mov edx, 4
call fcn.0040af60
mov edx, dword [ebp - 0xec]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
call fcn.00808018
lea eax, [ebp - 0xfc]
mov ecx, 0x816b18
mov edx, dword [ebp - 0x24]
call fcn.0040aed8
mov eax, dword [ebp - 0xfc]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xf8]
push eax
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x100]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov edx, dword [ebp - 0x100]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, 0x816b74
call fcn.008084e8
push ebp
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x108]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.008138ac
mov eax, dword [ebp - 0x104]
call fcn.00423438
call fcn.00815758
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8168a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x815fb7
lea ecx, [ebp - 0x138]
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.0043f380
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0042249c
mov eax, dword [ebp - 0x134]
mov edx, 0x8169c4
call fcn.0040b010
jne 0x81638f
xor eax, eax
push ebp
push 0x81622c
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0080dccc
mov eax, dword [ebp - 0x20]
mov edx, 0x8169dc
call fcn.0040b010
je 0x8160e7
mov dword [ebp - 0x44], 1
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x20]
push 0x8169f8
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x148]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.008138ac
push dword [ebp - 0x144]
push 0x816a68
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x44]
call fcn.004231c8
push dword [ebp - 0x14c]
push 0x816a7c
lea eax, [ebp - 0x140]
mov edx, 6
call fcn.0040af60
mov edx, dword [ebp - 0x140]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
call fcn.00808018
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0080dccc
mov eax, dword [ebp - 0x20]
mov edx, 0x8169dc
call fcn.0040b010
je 0x8160e7
imul eax, dword [ebp - 0x44], 0x2710
push eax
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 0x1f
jne 0x816027
mov eax, dword [ebp - 0x20]
mov edx, 0x8169dc
call fcn.0040b010
je 0x81621f
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x20]
push 0x816a98
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x15c]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.008138ac
push dword [ebp - 0x158]
push 0x816a68
lea eax, [ebp - 0x154]
mov edx, 4
call fcn.0040af60
mov edx, dword [ebp - 0x154]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
call fcn.00808018
lea eax, [ebp - 0x164]
mov ecx, 0x816b18
mov edx, dword [ebp - 0x20]
call fcn.0040aed8
mov eax, dword [ebp - 0x164]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x160]
push eax
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x168]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov edx, dword [ebp - 0x168]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, 0x816b74
call fcn.008084e8
push ebp
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x170]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x16c]
call fcn.008138ac
mov eax, dword [ebp - 0x16c]
call fcn.00423438
call fcn.00815758
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8168a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x81638f
push 0
lea edx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x10]
call fcn.0080c024
mov eax, dword [ebp - 0x1a0]
push eax
mov eax, dword [ebp - 0x10]
call fcn.0080bfc8
push edx
push eax
lea eax, [ebp - 0x1a4]
call fcn.004231f0
mov eax, dword [ebp - 0x1a4]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x19c]
push eax
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x1a8]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x1a8]
push eax
push 0x816d94
lea edx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x44]
call fcn.004231c8
push dword [ebp - 0x1b0]
push 0x816da8
lea eax, [ebp - 0x1ac]
mov edx, 3
call fcn.0040af60
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
pop edx
call fcn.008084e8
push 0
call sub.ole32.dll_CoInitialize
push 5
lea edx, [ebp - 0x1b4]
mov eax, dword [ebp - 0x10]
call fcn.00424090
mov eax, dword [ebp - 0x1b4]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040ac6c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040ac6c
push eax
push 0x816dac
push 0
call sub.shell32.dll_ShellExecuteW
mov ebx, eax
call sub.ole32.dll_CoUninitialize
cmp ebx, 0x20
jge 0x8165c3
push ebp
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x1bc]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x1bc]
lea edx, [ebp - 0x1b8]
call fcn.008138ac
mov eax, dword [ebp - 0x1b8]
call fcn.00423438
call fcn.00815758
pop ecx
lea edx, [ebp - 0x1c8]
mov eax, ebx
call fcn.004231c8
mov ecx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1c4]
mov edx, 0x816dc4
call fcn.0040aed8
mov eax, dword [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1c0]
push eax
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x1d0]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x1d0]
lea edx, [ebp - 0x1cc]
call fcn.008138ac
mov edx, dword [ebp - 0x1cc]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, 0x816b74
call fcn.0080884c
lea eax, [ebp - 0x1d4]
push eax
push 0x816e38
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x1e0]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 0x1dc]
call fcn.008138ac
push dword [ebp - 0x1dc]
push 0x816e7c
lea edx, [ebp - 0x1e4]
mov eax, ebx
call fcn.004231c8
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d8]
mov edx, 4
call fcn.0040af60
mov edx, dword [ebp - 0x1d8]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
xor ecx, ecx
call fcn.00808018
jmp 0x81687e
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x1ec]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov edx, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1e8]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00807af0
push 0
lea eax, [ebp - 0x1f0]
push eax
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x1f8]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x1f8]
lea edx, [ebp - 0x1f4]
call fcn.008138ac
mov edx, dword [ebp - 0x1f4]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, 0x816e90
call fcn.0080884c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.008176ec
test al, al
je 0x8166ed
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x200]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov edx, dword [ebp - 0x200]
lea ecx, [ebp - 0x1fc]
mov eax, dword [0x84ce0c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00807d84
mov eax, dword [0x84dd40]
cmp dword [eax], 0
je 0x8166ad
mov eax, dword [0x84dd40]
mov eax, dword [eax]
call fcn.0080d0d8
push ebp
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x208]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x204]
call fcn.008138ac
mov eax, dword [ebp - 0x204]
call fcn.00423438
call fcn.00815758
pop ecx
mov eax, dword [0x84dc84]
cmp byte [eax], 0
jne 0x81687e
xor edx, edx
push ebp
push 0x8167c7
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
call fcn.00409f5c
mov edx, 0x816ea4
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
mov edx, dword [0x68958c]
call fcn.00408494
mov edi, eax
mov eax, edi
call fcn.0068fed8
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x8167af
inc ebx
xor esi, esi
cmp dword [ebp - 0x18], 0
jne 0x81676b
mov edx, esi
mov eax, edi
call fcn.0068fed0
lea edx, [ebp - 0x20c]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x18]
call fcn.008138ac
jmp 0x8167ab
push dword [ebp - 0x18]
push 0x816ec8
mov edx, esi
mov eax, edi
call fcn.0068fed0
lea edx, [ebp - 0x214]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.008138ac
push dword [ebp - 0x210]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040af60
inc esi
dec ebx
jne 0x816741
cmp dword [ebp - 0x18], 0
je 0x8167bd
mov eax, dword [ebp - 0x18]
call fcn.00810394
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8167ef
xor edx, edx
push ebp
push 0x816859
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1c]
call fcn.00409f5c
mov edx, 0x816ed8
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
test eax, eax
jne 0x816841
mov edx, 0x816a54
mov eax, dword [ebp - 0x38]
call fcn.0068ea08
call fcn.0068daa4
lea edx, [ebp - 0x218]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x1c]
call fcn.008138ac
cmp dword [ebp - 0x1c], 0
je 0x81684f
mov eax, dword [ebp - 0x1c]
call fcn.008106e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x81687e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8168a5
inc dword [ebp - 0x40]
dec dword [ebp - 0x4c]
jne 0x8159de
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8168f0
lea eax, [ebp - 0x218]
mov edx, 0x5a
call fcn.00409fbc
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.00409fbc
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00409fbc
ret