Function at 0x10010840
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7e3e
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x100db774]
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 dword [ebp - 4], 0
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x10010898
cmp ecx, dword [esi - 0x10]
jne 0x10010898
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x100108c7
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x10010d23
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea ecx, [eax + eax]
push ecx
push esi
push ecx
lea eax, [edi + 0x10]
push eax
call fcn.1000c3c0
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [ebp - 0x308], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 1
jne 0x100108e4
mov edi, 1
jmp 0x10010cc8
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x100af1d8
push str.http
push 1
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x10010ca9
xor eax, eax
mov dword [ebp - 0x2e8], 0
lea edi, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10010940
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x10010988
mov dword [ebp - 0x2e8], edi
lea eax, [ebp - 0x2e0]
add edi, edi
push edi
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.10074970
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0x2f8], ax
mov eax, dword [ebp - 0x2f8]
jmp 0x10010a5e
mov dword [ebp - 0x30c], VariantInit
mov dword [ebp - 0x310], 8
mov dword [ebp - 0x314], VariantInit
mov dword [ebp - 0x318], VariantInit
cmp edi, 0x7ffffffe
ja 0x10010d28
mov ebx, edi
mov dword [ebp - 0x31c], VariantInit
or ebx, 7
mov dword [ebp - 0x320], 8
mov dword [ebp - 0x324], VariantInit
mov dword [ebp - 0x328], VariantInit
mov dword [ebp - 0x32c], ebx
cmp ebx, 0x7ffffffe
jbe 0x100109fe
mov ebx, SysReAllocString
jmp 0x10010a12
mov eax, 0xa
mov dword [ebp - 0x330], 0xa
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1000ae40
mov dword [ebp - 0x2e8], edi
lea ecx, [ebp - 0x2e0]
add edi, edi
mov dword [ebp - 0x2fc], eax
push edi
push ecx
push eax
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x2e4], ebx
call fcn.100743f0
mov eax, dword [ebp - 0x2fc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 2
cmovae ecx, eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x304], ecx
cmp eax, 2
jb 0x10010aa8
dec eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x2fc], eax
nop dword [eax]
sub eax, ecx
sar eax, 1
je 0x10010aa8
cmp word [ecx], 0x25
je 0x10010ba6
add ecx, 2
sub eax, 1
jne 0x10010a96
push 1
push 0x100af1f8
lea ecx, [ebp - 0x2f8]
call fcn.100112b0
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010ac0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2f8]
call fcn.100112b0
mov ecx, 0x44
lea eax, [ebp - 0x388]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10010ae7
mov ecx, 0x10
lea eax, [ebp - 0x344]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10010b00
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x388], 0x44
push ecx
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push 0
push eax
push 0
call fcn.10010d40
add esp, 0x14
test eax, eax
je 0x10010c48
push dword [ebp - 0x344]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x340]
call edi
mov edx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10010c23
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d2d
jmp 0x10010c19
test ecx, ecx
je 0x10010aa8
mov edx, 0x100af1f0
mov ebx, ecx
mov edi, 2
sub ebx, edx
nop dword [eax]
mov ax, word [ebx + edx]
cmp ax, word [edx]
jne 0x10010c0b
add edx, 2
sub edi, 1
jne 0x10010bc0
sub ecx, dword [ebp - 0x304]
sar ecx, 1
cmp ecx, 0xffffffff
je 0x10010aa8
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10010be7
sub edx, edi
sar edx, 1
push edx
push esi
push 2
push ecx
lea ecx, [ebp - 0x2f8]
call fcn.10011430
jmp 0x10010adc
mov eax, dword [ebp - 0x2fc]
add ecx, 2
jmp 0x10010a90
push edx
push ecx
call fcn.100693ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea edi, [eax + 1]
jmp 0x10010cc8
mov edx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10010c8c
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d32
push edx
push ecx
call fcn.100693ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
push 0xa
push 0
push 0
push esi
push 0x100af1d8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb edi, edi
neg edi
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010ce6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10010d05
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.100693bc
mov esp, ebp
pop ebp
ret
call fcn.10002940
call fcn.1000ae30
call fcn.1007869e
call fcn.1007869e
int3