Function at 0x100201d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100977d6
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x100d8574]
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.1000fa50
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x1002022a
mov esi, 1
jmp 0x1002046b
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x100b29d0
push str.http
push 1
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x10020447
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 0x10020284
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1000f550
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 0x100202f2
lea ebx, [ecx + eax*2]
lea eax, [ebx - 2]
sub eax, ecx
sar eax, 1
je 0x100202f2
nop dword [eax + eax]
cmp word [ecx], 0x25
je 0x100203c7
add ecx, 2
sub eax, 1
jne 0x100202e0
push 1
push 0x100b29f0
lea ecx, [ebp - 0x2f8]
call fcn.100212a0
mov eax, dword [ebp - 0x2fc]
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10020310
sub edx, esi
lea ecx, [ebp - 0x2f8]
sar edx, 1
push edx
push eax
call fcn.100212a0
mov ecx, 0x44
lea eax, [ebp - 0x358]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10020337
mov ecx, 0x10
lea eax, [ebp - 0x314]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10020350
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.10020a70
add esp, 0x14
test eax, eax
je 0x1002043c
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.10004710
mov esi, 1
jmp 0x1002046b
test ecx, ecx
je 0x100202f2
mov edx, 0x100b29e8
mov edi, ecx
mov esi, 2
sub edi, edx
nop dword [eax]
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x10020434
add edx, 2
sub esi, 1
jne 0x100203e0
sub ecx, dword [ebp - 0x304]
sar ecx, 1
cmp ecx, 0xffffffff
je 0x100202f2
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 0x10020410
sub esi, edi
sar esi, 1
push esi
push eax
push 2
push ecx
lea ecx, [ebp - 0x2f8]
call fcn.10021ac0
jmp 0x1002032c
add ecx, 2
jmp 0x100202d2
lea ecx, [ebp - 0x2f8]
call fcn.10004710
push 0xa
push 0
push 0
push dword [ebp - 0x2fc]
push 0x100b29f4
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 0x10020490
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.10033cf1
mov esp, ebp
pop ebp
ret