Function at 0x10080790
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146614
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov cl, byte [ebp + 0x14]
mov edi, dword [ebp + 8]
mov byte [ebp - 0x12d], cl
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14c], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x158], ecx
mov ecx, dword [ebp + 0x20]
push 0xb0
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebp + 0x24]
push 0
movlpd qword [ebp - 0x100], xmm0
or dword [ebp - 0x100], 0x100
mov dword [ebp - 0x150], edi
push eax
mov dword [ebp - 0x150], ecx
movlpd qword [ebp - 0x128], xmm0
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
movlpd qword [ebp - 0x108], xmm0
movlpd qword [ebp - 0xf8], xmm0
mov dword [ebp - 0xec], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x12c], 0x44
call fcn.10117ff0
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.10035c80
mov edx, 0x1016d2b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.100205a0
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x10]
cmp eax, 6
ja case.default.0x100808a5
jmp dword [eax*4 + 0x10080c70]
push 0xc
push str.login_signin
jmp 0x10080953
push 0xc
push str.login_signup
jmp 0x10080953
push 0x15
push str.switch_account_signin
jmp 0x10080953
push 0x15
push str.switch_account_signup
jmp 0x10080953
push 0xd
push str.redeem_signin
jmp 0x10080953
push 0x11
xor eax, eax
mov dword [ebp - 0x174], 0
push str.custom_login_url
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
call fcn.10002060
push dword [ebp + 0x1c]
lea edx, [ebp - 0x174]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.10081570
add esp, 4
lea ecx, [ebp - 0x174]
call fcn.10002400
jmp 0x10080981
push 0xe
push str.oobe_set_email
jmp 0x10080953
push 5
push 0x1016bb44
xor eax, eax
mov dword [ebp - 0x148], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
call fcn.10002060
mov ecx, dword [ebp - 0x154]
lea edx, [ebp - 0x148]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x134], 8
push dword [ebp - 0x138]
cmovae edx, dword [ebp - 0x148]
call fcn.10021f70
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.10002400
mov edx, str._partner
lea ecx, [ebp - 0xd8]
call fcn.100205a0
mov edx, esi
mov ecx, eax
call fcn.10081060
mov edx, str._app
lea ecx, [ebp - 0xd8]
call fcn.100205a0
lea edx, [esi + 0x20]
mov ecx, eax
call fcn.10081060
mov edx, str._device
lea ecx, [ebp - 0xd8]
call fcn.100205a0
mov edx, dword [ebp - 0x158]
mov ecx, eax
call fcn.10081060
mov edx, str._event_close
lea ecx, [ebp - 0xd8]
call fcn.100205a0
mov edx, str.GlobalF938DA6C_08D0_44A0_93B3_6A4803394449
mov ecx, eax
call fcn.100205a0
mov edx, 0x1016d330
lea ecx, [ebp - 0xd8]
call fcn.100205a0
mov edx, str.Global353E7D9D_D578_475E_9582_13300421E8F2
mov ecx, eax
call fcn.100205a0
cmp byte [ebp - 0x12d], 0
lea ecx, [ebp - 0xd8]
mov eax, 0x1016d32c
mov esi, 0x1016cf28
mov edx, str._show_incompatible
cmove esi, eax
call fcn.100205a0
mov edx, esi
mov ecx, eax
call fcn.100205a0
cmp dword [ebp + 0x10], 6
jne 0x10080a93
mov edx, str._event_oobe_show_product_registered
lea ecx, [ebp - 0xd8]
call fcn.10020800
mov edx, str.Global8FE4A7C5_2A26_42BD_B0E2_A2E45B0F67D4
mov ecx, eax
call fcn.100205a0
mov esi, dword [ebp - 0x15c]
test esi, esi
je 0x10080ac2
mov edx, str._request_source_
lea ecx, [ebp - 0xd8]
call fcn.100205a0
mov edx, esi
mov ecx, eax
call fcn.100205a0
mov edx, 0x1016d3c0
mov ecx, eax
call fcn.10020800
mov esi, dword [ebp - 0x150]
test esi, esi
je 0x10080af1
mov edx, str._karma_event_values_
lea ecx, [ebp - 0xd8]
call fcn.100205a0
mov edx, esi
mov ecx, eax
call fcn.100205a0
mov edx, 0x1016d3c0
mov ecx, eax
call fcn.10020800
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10027f70
mov byte [ebp - 4], 3
lea edx, [ebp - 0x174]
cmp dword [ebp - 0x160], 8
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x174]
call fcn.1002e3f0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 5
call fcn.10002400
push 0x1016d3c4
mov edx, 0x10
lea ecx, [ebp - 0x21c]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 6
cmp byte [eax + 0x48], 0
je 0x10080b6c
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.10021f70
add esp, 4
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
call fcn.1000ad70
call fcn.100806a0
call fcn.100804b0
lea ecx, [ebp - 0x38]
mov esi, eax
lea eax, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0
push 0
test esi, esi
je 0x10080bbd
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x10080c4e
jmp 0x10080bd6
cmp dword [ebp - 0x14], 8
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x10080bb3
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ecx, 0xffffffff
je 0x10080bf1
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 4], 0xffffffff
test esi, esi
je 0x10080c05
push esi
call eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x28]
call fcn.10002400
lea ecx, [ebp - 0xe8]
call fcn.10035990
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret 0x20
mov edx, str.CreateProcess_failed
lea ecx, [ebp - 0x144]
call fcn.10068960
push 0x10197920
lea eax, [ebp - 0x144]
push eax
call fcn.101179f2
nop
lodsb al, byte [esi]
or byte [eax], cl
adc byte [eax - 0x3beff7f8], bh
or byte [eax], cl
adc al, dl
or byte [eax], cl
adc cl, bl
or byte [eax], cl
adc dl, ah
or byte [eax], cl
adc byte [ebx + 9], al
or byte [eax], dl
int3