Function at 0x100213f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098b46
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x100de66c]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x2fc]
push eax
call fcn.1000fc50
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x1002144a
mov esi, 1
jmp 0x1002168b
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x100b7e1c
push str.http
push 1
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x10021667
xor eax, eax
mov dword [ebp - 0x2e8], 0
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100214a4
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1000f750
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
mov eax, dword [ebp - 0x2e8]
cmovae ecx, dword [ebp - 0x2f8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x304], ecx
cmp eax, 2
jb 0x10021512
lea ebx, [ecx + eax*2]
lea eax, [ebx - 2]
sub eax, ecx
sar eax, 1
je 0x10021512
nop dword [eax + eax]
cmp word [ecx], 0x25
je 0x100215e7
add ecx, 2
sub eax, 1
jne 0x10021500
push 1
push 0x100b7e3c
lea ecx, [ebp - 0x2f8]
call fcn.10022360
mov eax, dword [ebp - 0x2fc]
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10021530
sub edx, esi
lea ecx, [ebp - 0x2f8]
sar edx, 1
push edx
push eax
call fcn.10022360
mov ecx, 0x44
lea eax, [ebp - 0x358]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10021557
mov ecx, 0x10
lea eax, [ebp - 0x314]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10021570
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x358], 0x44
push ecx
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push 0
push eax
push 0
call fcn.10021b30
add esp, 0x14
test eax, eax
je 0x1002165c
push dword [ebp - 0x314]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x310]
call esi
lea ecx, [ebp - 0x2f8]
call fcn.10004b70
mov esi, 1
jmp 0x1002168b
test ecx, ecx
je 0x10021512
mov edx, 0x100b7e34
mov edi, ecx
mov esi, 2
sub edi, edx
nop dword [eax]
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x10021654
add edx, 2
sub esi, 1
jne 0x10021600
sub ecx, dword [ebp - 0x304]
sar ecx, 1
cmp ecx, 0xffffffff
je 0x10021512
mov eax, dword [ebp - 0x2fc]
mov esi, eax
lea edi, [esi + 2]
nop dword [eax]
mov dx, word [esi]
add esi, 2
test dx, dx
jne 0x10021630
sub esi, edi
sar esi, 1
push esi
push eax
push 2
push ecx
lea ecx, [ebp - 0x2f8]
call fcn.10022b80
jmp 0x1002154c
add ecx, 2
jmp 0x100214f2
lea ecx, [ebp - 0x2f8]
call fcn.10004b70
push 0xa
push 0
push 0
push dword [ebp - 0x2fc]
push 0x100b7e40
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x2fc]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100216b0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.10030b57
mov esp, ebp
pop ebp
ret