Function at 0x180037870
Capabilities:
Reference http user-agent string

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov r13, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [rdx + 0x10], r14
jne 0x1800378c7
or eax, 0xffffffff
jmp 0x18003840f
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
lea rdx, str.url:
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
mov r8d, 0x17
lea rdx, str.CReportMgr::SendRequest
lea rcx, [rbp + 0x88]
call fcn.1800071c0
nop
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
mov r8d, 0xd
lea rdx, str.ReportMgr.cpp
lea rcx, [rbp + 0x38]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x49
lea r8, [rbp + 0x38]
lea edx, [r9 - 0x47]
call fcn.180002e80
nop
cmp qword [rbp + 0x78], 8
jb 0x18003799f
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
cmp qword [rbp + 0x50], 0x10
jb 0x1800379c0
mov rcx, qword [rbp + 0x38]
call fcn.18007309c
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
cmp qword [rbp + 0xa0], 0x10
jb 0x1800379e6
mov rcx, qword [rbp + 0x88]
call fcn.18007309c
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
lea rcx, [rsp + 0x48]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x38], rax
lea r15, vtable.std::ios_base.0
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x38]
call fcn.1800724a4
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.180004950
nop
lea rdx, str.body:
lea rcx, [rsp + 0x40]
call fcn.180009910
mov rcx, rax
mov rdx, rdi
call fcn.1800096b0
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
mov r8d, 0x17
lea rdx, str.CReportMgr::SendRequest
lea rcx, [rbp + 0x38]
call fcn.1800071c0
nop
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
mov r8d, 0xd
lea rdx, str.ReportMgr.cpp
lea rcx, [rbp + 0x88]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180004ae0
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x4a
lea r8, [rbp + 0x88]
lea edx, [r9 - 0x47]
call fcn.1800029b0
nop
cmp qword [rbp + 0x78], 0x10
jb 0x180037b3d
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r14
mov byte [rbp + 0x60], 0
cmp qword [rbp + 0xa0], 0x10
jb 0x180037b63
mov rcx, qword [rbp + 0x88]
call fcn.18007309c
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
cmp qword [rbp + 0x50], 0x10
jb 0x180037b8c
mov rcx, qword [rbp + 0x38]
call fcn.18007309c
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], rax
lea rcx, [rsp + 0x48]
call fcn.180004b20
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x38]
call fcn.1800724a4
mov rdx, rsi
lea rcx, [rbp + 0xe0]
call fcn.180021030
nop
mov qword [rbp + 0xc8], 0xf
mov qword [rbp + 0xc0], r14
mov byte [rbp + 0xb0], 0
mov r8d, 0x10
lea rdx, str.Content_Length:
lea rcx, [rbp + 0xb0]
call fcn.1800071c0
nop
mov edx, dword [rdi + 0x10]
lea rcx, [rbp + 0x60]
call fcn.1800128d0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.180008c00
mov r8d, 0x31
lea rdx, str._r_nContent_Type:_application_x_www_form_urlencoded
mov rcx, rax
call fcn.180007080
mov r8d, 0x19
lea rdx, str._r_nReferer:_www.client.com
mov rcx, rax
call fcn.180007080
nop
cmp qword [rbp + 0x78], 0x10
jb 0x180037c9c
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r14
mov byte [rbp + 0x60], 0
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x60]
call fcn.180012030
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x238]
call fcn.180005820
nop
cmp qword [rbp + 0x78], 8
jb 0x180037ce4
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x180037ee4
cmp qword [rdi + 0x18], 0x10
jb 0x180037d0c
mov rdi, qword [rdi]
test rdi, rdi
je 0x180037d57
mov rcx, qword [rbp + 0x228]
test rcx, rcx
je 0x180037d22
call fcn.180073b34
mov qword [rbp + 0x228], r14
mov esi, ebx
mov ecx, ebx
call fcn.180072c28
mov qword [rbp + 0x228], rax
test rax, rax
je 0x180037d57
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call fcn.180073f20
mov dword [rbp + 0x230], ebx
jmp 0x180037ee4
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.SADTS_FAILED._GetLastError_is:
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov edx, ebx
call fcn.18000cd70
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
mov r8d, 0x17
lea rdx, str.CReportMgr::SendRequest
lea rcx, [rbp + 0x38]
call fcn.1800071c0
nop
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
mov r8d, 0xd
lea rdx, str.ReportMgr.cpp
lea rcx, [rbp + 0x88]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x5e
lea r8, [rbp + 0x88]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0x78], 8
jb 0x180037e34
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
cmp qword [rbp + 0xa0], 0x10
jb 0x180037e5b
mov rcx, qword [rbp + 0x88]
call fcn.18007309c
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
cmp qword [rbp + 0x50], 0x10
jb 0x180037e84
mov rcx, qword [rbp + 0x38]
call fcn.18007309c
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
lea rcx, [rsp + 0x40]
call fcn.18000caa0
nop
cmp qword [rbp + 0xc8], 0x10
jb 0x180037eb5
mov rcx, qword [rbp + 0xb0]
call fcn.18007309c
mov qword [rbp + 0xc8], 0xf
mov qword [rbp + 0xc0], r14
mov byte [rbp + 0xb0], 0
lea rcx, [rbp + 0xe0]
call fcn.1800212d0
mov eax, 0xfffffffd
jmp 0x18003840f
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r14
mov word [rbp + 0x88], r14w
mov r8d, 0x5a
lea rdx, str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_5.1__Trident_4.0__GTB7.4__FX1.0___like_Gecko
lea rcx, [rbp + 0x88]
call fcn.180007850
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x2b8]
call fcn.180005820
nop
cmp qword [rbp + 0xa0], 8
jb 0x180037f49
mov rcx, qword [rbp + 0x88]
call fcn.18007309c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r14
mov word [rbp + 0x88], r14w
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r14
mov word [rbp + 0x38], r14w
mov r8d, 5
lea rdx, [0x1800bbc68]
lea rcx, [rbp + 0x38]
call fcn.180007850
nop
mov dword [rsp + 0x30], 1
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x190]
call fcn.180005820
nop
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
cmp qword [rbp + 0x50], 8
jb 0x180037fc7
mov rcx, qword [rbp + 0x38]
call fcn.18007309c
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r14
mov word [rbp + 0x38], r14w
mov rdx, r12
lea rcx, [rbp + 0xe0]
call fcn.180021590
test al, al
jne 0x18003817c
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.SHR_FAILED._GetLastError_is:
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov edx, ebx
call fcn.18000cd70
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
mov r8d, 0x17
lea rdx, str.CReportMgr::SendRequest
lea rcx, [rbp + 0x38]
call fcn.1800071c0
nop
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
mov r8d, 0xd
lea rdx, str.ReportMgr.cpp
lea rcx, [rbp + 0x88]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x73
lea r8, [rbp + 0x88]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0x78], 8
jb 0x1800380cc
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
cmp qword [rbp + 0xa0], 0x10
jb 0x1800380f3
mov rcx, qword [rbp + 0x88]
call fcn.18007309c
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
cmp qword [rbp + 0x50], 0x10
jb 0x18003811c
mov rcx, qword [rbp + 0x38]
call fcn.18007309c
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
lea rcx, [rsp + 0x40]
call fcn.18000caa0
nop
cmp qword [rbp + 0xc8], 0x10
jb 0x18003814d
mov rcx, qword [rbp + 0xb0]
call fcn.18007309c
mov qword [rbp + 0xc8], 0xf
mov qword [rbp + 0xc0], r14
mov byte [rbp + 0xb0], 0
lea rcx, [rbp + 0xe0]
call fcn.1800212d0
mov eax, 0xfffffffa
jmp 0x18003840f
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.180022960
nop
mov qword [rsp + 0x20], 3
lea r9, [0x1800bc948]
mov r8, qword [rax + 0x10]
xor edx, edx
mov rcx, rax
call fcn.180016be0
test eax, eax
setne bl
cmp qword [rbp + 0x78], 8
jb 0x1800381c0
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
test bl, bl
je 0x180038391
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.180022960
mov rbx, rax
lea rdx, str.code:
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov rdx, rbx
call fcn.180010da0
nop
cmp qword [rbp + 0x78], 8
jb 0x18003822d
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
mov r8d, 0x17
lea rdx, str.CReportMgr::SendRequest
lea rcx, [rbp + 0x38]
call fcn.1800071c0
nop
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
mov r8d, 0xd
lea rdx, str.ReportMgr.cpp
lea rcx, [rbp + 0x88]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x7a
lea r8, [rbp + 0x88]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0x78], 8
jb 0x1800382e4
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
cmp qword [rbp + 0xa0], 0x10
jb 0x18003830b
mov rcx, qword [rbp + 0x88]
call fcn.18007309c
mov qword [rbp + 0xa0], 0xf
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x88], 0
cmp qword [rbp + 0x50], 0x10
jb 0x180038334
mov rcx, qword [rbp + 0x38]
call fcn.18007309c
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r14
mov byte [rbp + 0x38], 0
lea rcx, [rsp + 0x40]
call fcn.18000caa0
nop
cmp qword [rbp + 0xc8], 0x10
jb 0x180038365
mov rcx, qword [rbp + 0xb0]
call fcn.18007309c
mov qword [rbp + 0xc8], 0xf
mov qword [rbp + 0xc0], r14
mov byte [rbp + 0xb0], 0
lea rcx, [rbp + 0xe0]
call fcn.1800212d0
mov eax, 0xfffffff9
jmp 0x18003840f
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.1800228b0
nop
mov rdx, rax
mov rcx, r13
call fcn.18000a370
nop
cmp qword [rbp + 0x78], 8
jb 0x1800383be
mov rcx, qword [rbp + 0x60]
call fcn.18007309c
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
cmp qword [rbp + 0xc8], 0x10
jb 0x1800383e5
mov rcx, qword [rbp + 0xb0]
call fcn.18007309c
mov qword [rbp + 0xc8], 0xf
mov qword [rbp + 0xc0], r14
mov byte [rbp + 0xb0], 0
lea rcx, [rbp + 0xe0]
call fcn.1800212d0
mov eax, 1
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x498
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret