Function at 0x49a214
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x180
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rsi, rcx
lea rax, [r11 + 8]
mov qword [rsp + 0x20], rax
lea r9, [r11 + 8]
lea r8, [r11 + 8]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.00415c3c
nop
mov rdx, qword [rsi + 0x7b8]
lea rbx, [rdx + 0x370]
mov rax, qword [rbx + 0x28]
cmp rax, qword [rbx + 0x20]
lea rax, [rdx + 0x340]
cmove rbx, rax
lea rdx, str.hubNI
lea rcx, [rsp + 0x38]
call fcn.005407dc
cmp rbx, rax
je 0x49a29c
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
mov rbx, qword [rsi + 0x7b8]
add rbx, 0x340
lea rdx, str.hubURL
lea rcx, [rsp + 0x38]
call fcn.005407dc
cmp rbx, rax
je 0x49a2d0
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
mov rbx, qword [rsi + 0x7b8]
add rbx, 0xe8
lea rdx, str.myNI
lea rcx, [rsp + 0x38]
call fcn.005407dc
cmp rbx, rax
je 0x49a304
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
mov rdi, qword [rsi + 0x7b8]
mov rbx, qword [0x00862cb8]
test rdi, rdi
je 0x49a349
mov rcx, rdi
call fcn.005a1568
cmp byte [rax + 0x2e0f], 0
jne 0x49a340
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x49a340
mov edx, reloc.WS2_32.dll_socket
call fcn.004083bc
mov rbp, rax
jmp 0x49a374
lea rbp, [rax + 0x488]
jmp 0x49a374
cmp byte [rbx + 0x2e97], 0
jne 0x49a36d
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x49a36d
mov edx, reloc.WS2_32.dll_socket
call fcn.004083bc
mov rbp, rax
jmp 0x49a374
lea rbp, [rbx + 0x510]
test rdi, rdi
je 0x49a3ab
mov rcx, rdi
call fcn.005a1568
cmp byte [rax + 0x2e0e], 0
jne 0x49a3a2
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x49a3a2
mov edx, reloc.WS2_32.dll_shutdown
call fcn.004083bc
mov rbx, rax
jmp 0x49a3d6
lea rbx, [rax + 0x458]
jmp 0x49a3d6
cmp byte [rbx + 0x2e96], 0
jne 0x49a3cf
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x49a3cf
mov edx, reloc.WS2_32.dll_shutdown
call fcn.004083bc
mov rbx, rax
jmp 0x49a3d6
add rbx, 0x4e0
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbp
lea rcx, [rsp + 0xf0]
call fcn.0058b150
nop
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.00402448
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.0058904c
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.00401f00
nop
lea rax, [rsp + 0x120]
mov edi, 0x100
mov rcx, qword [rsp + 0x148]
cmp rcx, rax
je 0x49a45c
test rcx, rcx
je 0x49a45c
mov rdx, qword [rsp + 0x120]
sub rdx, rcx
cmp rdx, rdi
jbe 0x49a456
call fcn.006a4944
jmp 0x49a45c
call fcn.006a3610
nop
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x118]
cmp rcx, rax
je 0x49a492
test rcx, rcx
je 0x49a492
mov rdx, qword [rsp + 0xf0]
sub rdx, rcx
cmp rdx, rdi
jbe 0x49a48d
call fcn.006a4944
jmp 0x49a492
call fcn.006a3610
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.00402190
nop
mov rcx, rax
call fcn.0058bc34
mov bl, al
lea rax, [rsp + 0xc0]
mov rcx, qword [rsp + 0xe8]
cmp rcx, rax
je 0x49a4e5
test rcx, rcx
je 0x49a4e5
mov rdx, qword [rsp + 0xc0]
sub rdx, rcx
cmp rdx, rdi
jbe 0x49a4e0
call fcn.006a4944
jmp 0x49a4e5
call fcn.006a3610
test bl, bl
je 0x49a587
mov rcx, qword [rsi + 0x7b8]
test rcx, rcx
je 0x49a524
call fcn.005a1568
cmp byte [rax + 0x302c], 0
jne 0x49a51c
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x49a51c
mov edx, 0x234
call fcn.0041024c
jmp 0x49a552
mov al, byte [rax + 0x2c4d]
jmp 0x49a552
mov rax, qword [0x00862cb8]
cmp byte [rax + 0x30b4], 0
jne 0x49a54c
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x49a54c
mov edx, 0x234
call fcn.0041024c
jmp 0x49a552
mov al, byte [rax + 0x2cd5]
test al, al
jne 0x49a57b
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xb8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x49a59f
lea rcx, [rsp + 0x70]
call fcn.0052d6f8
jmp 0x49a59f
xor r9d, r9d
mov rdx, qword [0x0086fad8]
mov r8, rdx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
je 0x49a5d7
test rcx, rcx
je 0x49a5d7
mov rax, qword [rsp + 0x70]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x49a5d1
call fcn.006a4944
jmp 0x49a5d7
call fcn.006a3610
nop
lea rcx, [rsp + 0x38]
call fcn.00415b98
xor eax, eax
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret