Function at 0x180003910
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, 0x1f0
xor esi, esi
xor eax, eax
mov rbx, rdx
and dword [r11 + 0x20], eax
mov edx, 0x8789d37b
mov rdi, r8
xor r8d, r8d
cmp ecx, edx
mov qword [rsp + 0x30], rsi
mov dword [r11 + 8], 0x57
lea r12d, [rsi + 4]
mov r13d, 0x119
ja 0x180003cfa
je 0x180003cf0
mov eax, 0x440c113f
cmp ecx, eax
ja 0x180003b60
je 0x180003b3a
cmp ecx, 0xcb3669a
je 0x180003ade
cmp ecx, 0xf30cfa9
je 0x180003aba
cmp ecx, 0x1623d945
je 0x180003a8d
cmp ecx, 0x21969926
je 0x180003a6c
cmp ecx, 0x26ff9756
je 0x180003a44
cmp ecx, 0x37c26f8b
je 0x180003a29
cmp ecx, 0x3d00c328
je 0x180003a08
cmp ecx, 0x401c7c9e
jne 0x180003e74
test rbx, rbx
je 0x18000404e
mov rcx, rbx
call fcn.180003014
mov dword [rsp + 0x210], eax
test eax, eax
jne 0x18000404e
lea rdx, [rsp + 0x210]
mov r9, rdi
mov r8d, r12d
mov ecx, r13d
call fcn.180011298
jmp 0x180004044
mov eax, 0x10
movzx r8d, word [0x180052574]
mov ecx, dword [0x180052570]
and r8w, 0xffef
or r8w, ax
xor edx, edx
jmp 0x180003a5a
mov ecx, 0x118
xor edx, edx
mov r9, rdi
call fcn.180011298
mov dword [rsp + 0x210], eax
jmp 0x180004044
test rbx, rbx
je 0x18000404e
movzx r8d, word [0x180052574]
mov rdx, rbx
xor ecx, ecx
mov r9b, 0xff
mov byte [rsp + 0x20], r9b
call fcn.18000525c
jmp 0x1800039de
test rbx, rbx
je 0x18000404e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, rbx
mov edx, eax
call fcn.18000f174
jmp 0x1800039de
lea rax, [0x18005742a]
mov edx, 0xb
mov ecx, 0x112
lea r9, [0x180057c63]
mov r8d, 0x10000
mov qword [rsp + 0x20], rax
call fcn.1800049fc
jmp 0x1800039de
test rbx, rbx
je 0x18000404e
mov edx, 0x10f
mov r8d, 1
mov r9, rdi
mov rcx, rbx
call fcn.18000272c
jmp 0x180003a38
test rbx, rbx
je 0x18000404e
lea r8, [rsp + 0x228]
lea rdx, [rsp + 0x30]
mov r9d, 1
mov rcx, rbx
call fcn.180004abc
test eax, eax
mov dword [rsp + 0x210], eax
jne 0x180003f21
mov ecx, 0x105
mov rsi, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x228]
mov r9, rdi
mov rdx, rsi
call fcn.180011298
mov dword [rsp + 0x210], eax
jmp 0x18000402d
test rbx, rbx
je 0x18000404e
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
and dword [rsp + 0x210], esi
jmp 0x1800039ed
cmp ecx, 0x471a9bd7
je 0x180003cda
cmp ecx, 0x4d620095
je 0x180003cd0
cmp ecx, 0x5980ca6f
je 0x180003c93
cmp ecx, 0x5bba381a
je 0x180003c89
cmp ecx, 0x62aa9f62
je 0x180003bed
cmp ecx, 0x69e38da6
je 0x180003be3
cmp ecx, 0x73296a18
je 0x180003bd9
cmp ecx, 0x7df87476
jne 0x180003e74
mov r8d, 1
test rbx, rbx
je 0x18000404e
neg r8d
sbb edx, edx
and edx, 8
add edx, 0x10f
xor r8d, r8d
jmp 0x180003ace
mov ecx, 0x111
jmp 0x180003a2e
mov ecx, 0x10c
jmp 0x180003a2e
test rbx, rbx
je 0x180003e74
lea rcx, [0x180053c60]
mov rdx, rbx
call fcn.180007834
test eax, eax
mov esi, eax
jne 0x180003c5f
mov rdx, qword [0x180053030]
lea r8, [rsp + 0x228]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
mov esi, eax
jne 0x180003c5f
and dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x228]
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 + 0x228]
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov dword [rsp + 0x210], esi
jne 0x180003e74
lea rdx, [rsp + 0x210]
mov r9, rdi
mov r8d, r12d
mov ecx, r13d
call fcn.180011298
jmp 0x180003e74
mov ecx, 0x109
jmp 0x180003a2e
test rbx, rbx
je 0x18000404e
lea r8, [rsp + 0x228]
lea rdx, [rsp + 0x30]
mov r9d, 1
mov rcx, rbx
call fcn.180004abc
test eax, eax
mov dword [rsp + 0x210], eax
jne 0x180003f21
mov ecx, 0x107
jmp 0x180003b16
call fcn.180006d58
jmp 0x1800039de
lea rax, [0x180057426]
mov edx, 8
mov ecx, 0x10e
jmp 0x180003a9e
mov ecx, 0x114
jmp 0x180003a2e
mov edx, 0xbb140c62
cmp ecx, edx
ja 0x180003e2c
je 0x180003bba
cmp ecx, 0x8b038f94
je 0x180003dde
cmp ecx, 0x8dc05229
je 0x180003dd4
cmp ecx, 0x8dd7aafe
je 0x180003dca
cmp ecx, 0x98e70129
je 0x180003db4
cmp ecx, 0x9ceda5b8
je 0x180003d8c
cmp ecx, 0xa195d165
je 0x180003d82
cmp ecx, 0xae5c2259
je 0x180003a0d
cmp ecx, 0xb9baf2af
jne 0x180003e74
test rbx, rbx
je 0x18000404e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, rbx
mov edx, eax
call fcn.18000ef94
jmp 0x1800039de
mov ecx, 0x124
jmp 0x180003a2e
test rbx, rbx
je 0x18000404e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r8d, 1
mov rdx, rbx
add r8d, eax
mov ecx, 0x102
jmp 0x180003a30
test rbx, rbx
je 0x18000404e
mov rcx, rbx
call fcn.180001dc0
jmp 0x180003a38
mov ecx, 0x108
jmp 0x180003a2e
mov ecx, 0x103
jmp 0x180003a2e
test rbx, rbx
je 0x18000404e
lea rdx, [rsp + 0x50]
mov cx, 0x201
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180003e0d
lea r8d, [rax + 1]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.180019c64
jmp 0x180003e0f
xor eax, eax
test eax, eax
je 0x180004044
mov r8d, 0x10
lea rdx, [rsp + 0x38]
mov ecx, 0x110
jmp 0x180003a30
cmp ecx, 0xbd99c429
je 0x180003fe9
cmp ecx, 0xd11e7a2d
je 0x180003fdf
cmp ecx, 0xda133f00
je 0x180003f2b
cmp ecx, 0xeda409a4
je 0x180003ee8
cmp ecx, 0xeec85bef
je 0x180003ede
cmp ecx, 0xf190093c
je 0x180003ea8
cmp ecx, 0xf40acb61
je 0x180003e87
mov r8d, 1
mov dword [rsp + 0x210], r8d
jmp 0x18000404e
test rbx, rbx
je 0x180003e98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov r8d, eax
mov rdx, rbx
mov ecx, 0x123
jmp 0x180003a30
test rbx, rbx
je 0x18000404e
lea r8, [rsp + 0x228]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov rcx, rbx
call fcn.180004abc
test eax, eax
mov dword [rsp + 0x210], eax
jne 0x180003f21
mov ecx, 0x122
jmp 0x180003b16
mov ecx, 0x10a
jmp 0x180003a2e
test rbx, rbx
je 0x18000404e
lea r8, [rsp + 0x228]
lea rdx, [rsp + 0x30]
mov r9d, 1
mov rcx, rbx
call fcn.180004abc
test eax, eax
mov dword [rsp + 0x210], eax
jne 0x180003f21
mov ecx, 0x106
jmp 0x180003b16
mov rsi, qword [rsp + 0x30]
jmp 0x18000402d
movzx r8d, word [0x180052574]
mov ecx, dword [0x180052570]
mov r9b, 0xff
xor edx, edx
or r8w, 8
mov byte [rsp + 0x20], 0xff
call fcn.18000525c
test eax, eax
mov dword [rsp + 0x210], eax
jne 0x18000404e
mov rcx, qword [0x180052f28]
lea r8d, [rax + 1]
xor edx, edx
call fcn.180005d3c
test rax, rax
mov rbx, rax
je 0x180003fd4
mov ecx, dword [0x1800525a8]
and dword [rsp + 0x28], esi
and qword [rsp + 0x20], rsi
imul rcx, rcx, 0xffffffffff676980
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x180003fb2
and dword [rsp + 0x210], esi
jmp 0x180003fbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x210], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x210]
jmp 0x1800039e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800039de
mov ecx, 0x10b
jmp 0x180003a2e
movzx r8d, word [0x180052574]
mov ecx, dword [0x180052570]
mov r9b, 0xff
xor edx, edx
and r8w, 0xfff7
mov byte [rsp + 0x20], 0xff
call fcn.18000525c
test eax, eax
mov dword [rsp + 0x210], eax
jne 0x18000404e
lea rdx, [rsp + 0x210]
mov r9, rdi
mov r8d, r12d
mov ecx, r13d
call fcn.180011298
test rsi, rsi
je 0x180004044
mov rcx, qword [0x180052eb0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [rsp + 0x210], 0
je 0x180004064
lea rdx, [rsp + 0x210]
mov r9, rdi
mov r8d, r12d
mov ecx, r13d
call fcn.180011298
mov eax, dword [rsp + 0x210]
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret