Function at 0x1400129a0
Capabilities:
Resolve dns

Disassembly:
test rcx, rcx
je 0x140012cec
push rbp
push rsi
lea rbp, [rsp - 0x12a8]
mov eax, 0x13b8
call fcn.14004f2b0
sub rsp, rax
mov rax, qword [0x140067008]
xor rax, rsp
mov qword [rbp + 0x1290], rax
mov qword [rsp + 0x13d8], rbx
mov rsi, rcx
mov rbx, qword [rcx + 0x490]
test rbx, rbx
je 0x140012ccc
mov rbx, qword [rbx + 0x50]
mov qword [rsp + 0x13e0], rdi
xor edi, edi
mov qword [rsp + 0x13b0], r14
test rbx, rbx
je 0x140012aac
xorps xmm0, xmm0
lea rdx, [rbp - 0x58]
xor eax, eax
mov rcx, rbx
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x60], rax
movups xmmword [rbp - 0x70], xmm0
call fcn.1400366a8
test eax, eax
jne 0x140012a34
movsxd rax, dword [rbp - 0x44]
mov qword [rbp - 0x80], rax
lea r8, [rbp - 0x80]
mov rdx, rbx
mov rcx, rsi
call fcn.140007720
test eax, eax
jne 0x140012a96
lea r8, [rbp + 0x80]
mov rdx, rbx
call fcn.140008d70
lea rax, [rbp + 0x58]
mov dword [rsp + 0x28], shutdown
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [0x140059f3c]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.14003158c
mov r14, rax
jmp 0x140012a9a
mov r14, qword [rbp - 0x70]
cmp qword [rbp - 0x68], rdi
jne 0x140012aa5
test r14, r14
je 0x140012aac
test r14, r14
jne 0x140012ac3
jmp 0x140012aaf
mov r14, rdi
mov rax, qword [rsi + 0x490]
cmp qword [rax + 0x148], rdi
je 0x140012cbc
lea rcx, [rsi + 0x4d8]
call fcn.1400312cc
lea rcx, [rbp - 0x20]
mov edx, 0x40
test rax, rax
je 0x140012aee
mov r9, rax
lea r8, str._d__b__Y:_H:_M:_S__z
call fcn.140034588
jmp 0x140012b20
lea r8, str.01_Jan_1970:00:00:00_0000
sub r8, rcx
lea rax, [rbp - 0x20]
nop dword [rax]
cmp rdx, 1
jbe 0x140012b19
movzx ecx, byte [r8 + rax]
dec rdx
mov byte [rax], cl
inc rax
cmp byte [r8 + rax], dil
jne 0x140012b00
mov byte [rax], dil
mov byte [rbp + 0x1f], dil
lea rcx, [rsi + 0x4c0]
mov byte [rbp + 0x20], dil
test rcx, rcx
je 0x140012b5b
cmp word [rcx], 2
jne 0x140012b5b
mov r9d, 0x32
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], edi
lea r8, [rbp + 0x20]
mov qword [rsp + 0x20], rdi
lea edx, [r9 - 0x22]
call qword [sym.imp.WS2_32.dll_getnameinfo]
lea rdx, str.Referer
mov rcx, rsi
call fcn.140007d20
test rax, rax
lea rdi, [0x14005c938]
mov rbx, rdi
lea rdx, str.User_Agent
mov rcx, rsi
cmovne rbx, rax
call fcn.140007d20
mov rdx, qword [rsi + 0x28]
lea r11, [0x14005ab60]
test rax, rax
mov r10, r11
mov r9, rdi
mov r8, rdi
cmovne r9, rax
mov rcx, rdi
mov rax, qword [rsi + 8]
test rdx, rdx
mov qword [rsp + 0x80], r9
mov r9d, 0x1000
mov qword [rsp + 0x78], rbx
cmovne r10, rdx
test rax, rax
cmovne r8, rax
mov rax, qword [rsi]
test rax, rax
cmovne rcx, rax
mov rax, qword [rsi + 0x30]
test rax, rax
cmovne rdi, rax
test rdx, rdx
lea rax, [0x14005dbe8]
cmovne r11, rax
mov rax, qword [rsi + 0x4f0]
mov qword [rsp + 0x70], rax
xor edx, edx
mov eax, dword [rsi + 0x540]
mov dword [rsp + 0x68], eax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x48], r8
lea r8, [rbp + 0x290]
mov qword [rsp + 0x40], rcx
mov rcx, rsi
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rax, str._s____s___s____s__s_s_s_HTTP__s___d__I64d__s__s
mov qword [rsp + 0x20], rax
call fcn.140007970
mov rax, qword [rsi + 0x490]
mov r8, qword [rax + 0x150]
test r8, r8
je 0x140012c77
lea rdx, [rbp + 0x290]
mov rcx, rsi
call r8
test r14, r14
je 0x140012cbc
lea rcx, [0x14006a920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rbp + 0x290]
mov rcx, r14
lea rdx, [0x14005a928]
call fcn.140001ac0
mov rcx, r14
call fcn.140032ed4
lea rcx, [0x14006a920]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, r14
call fcn.1400313a0
mov rdi, qword [rsp + 0x13e0]
mov r14, qword [rsp + 0x13b0]
mov rbx, qword [rsp + 0x13d8]
mov rcx, qword [rbp + 0x1290]
xor rcx, rsp
call fcn.14002b5c0
add rsp, 0x13b8
pop rsi
pop rbp
ret