Function at 0x4987f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e2f1
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x5c5244]
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.0042b850
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2fc]
cmp dword [eax - 0xc], 0
jne 0x49884a
mov esi, 1
jmp 0x498c46
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x57cb0c
push str.http
push 1
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x498c22
xor eax, eax
mov dword [ebp - 0x2e8], 0
lea esi, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e8], 0
lea ecx, [esi + 2]
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4988c0
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x498902
mov dword [ebp - 0x2e8], esi
lea eax, [ebp - 0x2e0]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.004f3460
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x2f8], ax
jmp 0x4989c8
mov dword [ebp - 0x308], SysReAllocString
mov dword [ebp - 0x30c], 8
mov dword [ebp - 0x310], SysReAllocString
mov dword [ebp - 0x314], SysReAllocString
cmp esi, 0x7ffffffe
ja 0x498c89
mov ebx, esi
mov dword [ebp - 0x318], SysReAllocString
or ebx, 7
mov dword [ebp - 0x31c], 8
mov dword [ebp - 0x320], SysReAllocString
mov dword [ebp - 0x324], SysReAllocString
mov dword [ebp - 0x328], ebx
cmp ebx, 0x7ffffffe
jbe 0x498978
mov ebx, SysReAllocString
jmp 0x49898c
mov eax, 0xa
mov dword [ebp - 0x32c], 0xa
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.0041fde0
mov dword [ebp - 0x2e8], esi
mov edi, eax
add esi, esi
mov dword [ebp - 0x2e4], ebx
push esi
lea eax, [ebp - 0x2e0]
push eax
push edi
call fcn.004f2ee0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x2f8], edi
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 8
mov eax, dword [ebp - 0x2e8]
cmovae ebx, dword [ebp - 0x2f8]
cmp eax, 2
jb 0x498a12
dec eax
mov edx, ebx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x304], eax
sub eax, edx
sar eax, 1
je 0x498a12
nop dword [eax]
cmp word [edx], 0x25
je 0x498b19
add edx, 2
sub eax, 1
jne 0x498a00
push 1
push 0x56f36c
lea ecx, [ebp - 0x2f8]
call fcn.0047e940
mov eax, dword [ebp - 0x2fc]
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x498a30
sub edx, esi
lea ecx, [ebp - 0x2f8]
sar edx, 1
push edx
push eax
call fcn.0047e940
mov ecx, 0x44
lea eax, [ebp - 0x380]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x498a57
mov ecx, 0x10
lea eax, [ebp - 0x33c]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x498a70
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x380], 0x44
push ecx
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push 0
push eax
push 0
call fcn.00498ec0
add esp, 0x14
test eax, eax
je 0x498bc1
push dword [ebp - 0x33c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x338]
call esi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2e4]
cmp edx, 8
jb 0x498b9c
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x498b92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498c8e
jmp 0x498b92
test edx, edx
je 0x498a12
mov ecx, 0x57cb18
mov edi, edx
mov esi, 2
sub edi, ecx
nop
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x498b84
add ecx, 2
sub esi, 1
jne 0x498b30
sub edx, ebx
sar edx, 1
cmp edx, 0xffffffff
je 0x498a12
mov eax, dword [ebp - 0x2fc]
mov esi, eax
lea edi, [esi + 2]
nop dword [eax]
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x498b60
sub esi, edi
lea ecx, [ebp - 0x2f8]
sar esi, 1
push esi
push eax
push 2
push edx
call fcn.004998c0
jmp 0x498a4c
mov eax, dword [ebp - 0x304]
add edx, 2
jmp 0x4989f7
push edx
push ecx
call fcn.004d9fad
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea esi, [eax + 1]
jmp 0x498c46
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2e4]
cmp edx, 8
jb 0x498c05
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x498bfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498c93
push edx
push ecx
call fcn.004d9fad
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 dword [ebp - 0x2fc]
push 0x57cb0c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb esi, esi
neg esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x2fc]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x498c6b
mov ecx, dword [edi]
push edi
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.004da3bd
mov esp, ebp
pop ebp
ret
call fcn.0041f970
call fcn.004fe4a8
call fcn.004fe4a8
int3