Function at 0x180003e8c
Capabilities:
Initialize winsock library
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x1e0
xor esi, esi
xor eax, eax
mov rdi, r8
and dword [r11 + 0x20], eax
mov r8d, 0x7d9a8039
mov rbx, rdx
xor edx, edx
cmp ecx, r8d
mov qword [rsp + 0x30], rsi
mov dword [r11 + 8], 0x57
lea r12d, [rsi + 4]
mov r13d, 0x119
ja 0x180004262
je 0x180004258
mov eax, 0x4d00f4da
cmp ecx, eax
ja 0x18000408a
je 0x180004067
cmp ecx, 0x7008913
je 0x180004233
cmp ecx, 0x73aef27
je 0x18000405d
cmp ecx, 0xdf84384
je 0x18000403e
cmp ecx, 0x116e198a
je 0x180004020
cmp ecx, 0x160717fa
je 0x180003fd3
cmp ecx, 0x3c4be636
je 0x180003f86
cmp ecx, 0x3fc84f05
je 0x180003f65
cmp ecx, 0x43d1eab4
jne 0x1800043f3
lea ecx, [r13 - 8]
xor r8d, r8d
mov r9, rdi
call fcn.18000fa58
mov dword [rsp + 0x200], eax
jmp 0x180004594
test rbx, rbx
je 0x18000459e
mov edx, 0x10f
mov r8d, 1
mov r9, rdi
mov rcx, rbx
call fcn.1800028d0
jmp 0x180003f59
test rbx, rbx
je 0x18000459e
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x30]
mov r9d, 1
mov rcx, rbx
call fcn.180004bdc
test eax, eax
mov dword [rsp + 0x200], eax
jne 0x18000455f
mov rsi, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x218]
mov ecx, 0x105
mov rdx, rsi
jmp 0x18000456e
test rbx, rbx
je 0x18000459e
movzx r8d, word [0x180035614]
mov rdx, rbx
xor ecx, ecx
mov r9b, 0xff
mov byte [rsp + 0x20], r9b
call fcn.1800050f0
mov dword [rsp + 0x200], eax
test eax, eax
jne 0x18000459e
lea rdx, [rsp + 0x200]
mov r9, rdi
mov r8d, r12d
mov ecx, r13d
call fcn.18000fa58
jmp 0x180004594
test rbx, rbx
je 0x18000459e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, rbx
mov edx, eax
call fcn.18000e4b0
jmp 0x180003ff6
mov eax, 0x10
movzx r8d, word [0x180035614]
and r8w, 0xffef
or r8w, ax
mov ecx, dword [0x180035610]
jmp 0x180003fe9
mov ecx, 0x118
jmp 0x180003f4e
mov edx, 1
test rbx, rbx
je 0x18000459e
neg edx
sbb edx, edx
and edx, 8
add edx, 0x10f
xor r8d, r8d
jmp 0x180003f79
cmp ecx, 0x52521fce
je 0x1800041a0
cmp ecx, 0x591b0d0a
je 0x180004196
cmp ecx, 0x69784ac3
je 0x180004149
cmp ecx, 0x6b42b8b6
je 0x18000413f
cmp ecx, 0x70e4fc32
je 0x180004129
cmp ecx, 0x74f49193
je 0x180004103
cmp ecx, 0x77e21b7b
jne 0x1800043f3
lea rax, [0x1800394de]
lea r9, [0x180039d39]
mov edx, 8
mov ecx, 0x10e
mov r8d, 0x10000
mov qword [rsp + 0x20], rax
call fcn.180004b24
jmp 0x180003ff6
test rbx, rbx
je 0x18000459e
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
and dword [rsp + 0x200], esi
jmp 0x180004005
test rbx, rbx
je 0x18000459e
mov rcx, rbx
call fcn.180003100
jmp 0x180003ff6
mov ecx, 0x109
jmp 0x180003f4e
test rbx, rbx
je 0x18000459e
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x30]
mov r9d, 1
mov rcx, rbx
call fcn.180004bdc
test eax, eax
mov dword [rsp + 0x200], eax
jne 0x18000455f
mov rsi, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x218]
mov ecx, 0x107
mov rdx, rsi
jmp 0x18000456e
mov ecx, 0x10c
jmp 0x180003f4e
test rbx, rbx
je 0x180004246
lea rcx, [0x180036c20]
mov rdx, rbx
call fcn.18000758c
test eax, eax
mov esi, eax
jne 0x180004212
mov rdx, qword [0x180036988]
lea r8, [rsp + 0x218]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
mov esi, eax
jne 0x180004212
and dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x218]
and qword [rsp + 0x20], 0
lea r9d, [rax + 3]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x218]
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov dword [rsp + 0x200], esi
jne 0x180004233
lea rdx, [rsp + 0x200]
mov r9, rdi
mov r8d, r12d
mov ecx, r13d
call fcn.18000fa58
test rbx, rbx
je 0x180004246
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
jmp 0x180004248
xor eax, eax
mov r8d, eax
mov rdx, rbx
mov ecx, 0x128
jmp 0x180003f51
call fcn.180006880
jmp 0x180003ff6
mov r8d, 0xbd2f2a52
cmp ecx, r8d
ja 0x1800043a3
je 0x180004399
cmp ecx, 0x89427203
je 0x180004378
cmp ecx, 0x8bec8cce
je 0x18000406c
cmp ecx, 0x8d614485
je 0x180004365
cmp ecx, 0x9ea4a2f5
je 0x180004043
cmp ecx, 0xa81f8185
je 0x18000434f
cmp ecx, 0xac152514
je 0x180004327
cmp ecx, 0xb77153d7
je 0x18000431d
cmp ecx, 0xbbfb0f38
jne 0x1800043f3
test rbx, rbx
je 0x18000459e
lea rdx, [rsp + 0x40]
mov cx, 0x201
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800042fe
lea r8d, [rax + 1]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180018350
jmp 0x180004300
xor eax, eax
test eax, eax
je 0x180004594
mov r8d, 0x10
lea rdx, [rsp + 0x30]
mov ecx, 0x110
jmp 0x180003f51
mov ecx, 0x114
jmp 0x180003f4e
test rbx, rbx
je 0x18000459e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r8d, 1
mov rdx, rbx
add r8d, eax
mov ecx, 0x102
jmp 0x180003f51
test rbx, rbx
je 0x18000459e
mov rcx, rbx
call fcn.180001ea0
jmp 0x180003f59
movzx r8d, word [0x180035614]
and r8w, 0xfff7
jmp 0x180004055
test rbx, rbx
je 0x18000459e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, rbx
mov edx, eax
call fcn.18000e2d0
jmp 0x180003ff6
mov ecx, 0x108
jmp 0x180003f4e
cmp ecx, 0xbd38d285
je 0x180004566
cmp ecx, 0xc1688990
je 0x180004520
cmp ecx, 0xd15391f7
je 0x180004516
cmp ecx, 0xdd5c8908
je 0x1800044d0
cmp ecx, 0xde30db43
je 0x1800044c6
cmp ecx, 0xe1e6fa81
je 0x1800044bc
cmp ecx, 0xeaebbfac
je 0x180004404
mov edx, 1
mov dword [rsp + 0x200], edx
jmp 0x18000459e
movzx r8d, word [0x180035614]
mov ecx, dword [0x180035610]
mov r9b, 0xff
or r8w, 8
mov byte [rsp + 0x20], 0xff
call fcn.1800050f0
test eax, eax
mov dword [rsp + 0x200], eax
jne 0x18000459e
mov rcx, qword [0x1800368a0]
lea r8d, [rax + 1]
xor edx, edx
call fcn.180005688
test rax, rax
mov rbx, rax
je 0x1800044b1
mov ecx, dword [0x1800360a4]
and dword [rsp + 0x28], esi
and qword [rsp + 0x20], rsi
imul rcx, rcx, 0xffffffffff676980
mov qword [rsp + 0x218], rcx
lea rdx, [rsp + 0x218]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x18000448f
and dword [rsp + 0x200], esi
jmp 0x18000449c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x200], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x200]
jmp 0x180003ffd
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180003ff6
mov ecx, 0x10b
jmp 0x180003f4e
mov ecx, 0x10a
jmp 0x180003f4e
test rbx, rbx
je 0x18000459e
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x30]
mov r9d, 1
mov rcx, rbx
call fcn.180004bdc
test eax, eax
mov dword [rsp + 0x200], eax
jne 0x18000455f
mov rsi, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x218]
mov ecx, 0x106
mov rdx, rsi
jmp 0x18000456e
mov ecx, 0x12e
jmp 0x180003f4e
test rbx, rbx
je 0x18000459e
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov rcx, rbx
call fcn.180004bdc
test eax, eax
mov dword [rsp + 0x200], eax
jne 0x18000455f
mov rsi, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x218]
mov ecx, 0x122
mov rdx, rsi
jmp 0x18000456e
mov rsi, qword [rsp + 0x30]
jmp 0x18000457d
xor r8d, r8d
mov ecx, 0x103
mov r9, rdi
call fcn.18000fa58
mov dword [rsp + 0x200], eax
test rsi, rsi
je 0x180004594
mov rcx, qword [0x180036838]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [rsp + 0x200], 0
je 0x1800045b4
lea rdx, [rsp + 0x200]
mov r9, rdi
mov r8d, r12d
mov ecx, r13d
call fcn.18000fa58
mov eax, dword [rsp + 0x200]
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret