Function at 0x46f9a0
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x288
mov rax, qword [rcx + 0x68]
mov r15, rcx
cmp byte [rax], 0
je 0x46fc90
mov edi, dword [rcx + 0x130]
and edi, 0x7fffffff
cmp dword [rcx + 0x128], 9
je 0x46fe20
mov edi, 0x10
xor esi, esi
mov ebx, 2
cmp dword [r15 + 0x70], 0xffffffff
jne 0x46fc44
mov rax, qword [r15 + 0x38]
xor r13d, r13d
mov dword [rsp + 0x50], 0
xor r12d, r12d
mov byte [rsp + 0x5b], 0
mov dword [rsp + 0x5c], 0
mov r10d, dword [rsp + 0x50]
lea rdx, [rbx + 0x1c]
mov rcx, qword [rsp + 0x68]
mov r14, qword [rax]
test r10d, r10d
cmovne rbx, rdx
test r13d, r13d
lea rdx, [rbx + rcx]
cmovne rbx, rdx
test r14, r14
je 0x46fa7b
test r12b, 1
je 0x46fa50
cmp byte [rsp + 0x5b], 1
je 0x46fc3c
nop dword [rax + rax]
cmp dword [r14 + 0x18], edi
jne 0x46fa73
mov rcx, qword [r14 + 8]
call sub.msvcrt.dll_strlen
mov rcx, qword [r14 + 0x10]
mov rbp, rax
lea rbx, [rbx + rbp + 4]
call sub.msvcrt.dll_strlen
add rbx, rax
mov r14, qword [r14]
test r14, r14
jne 0x46fa50
mov rcx, qword [r15 + 0x40]
lea rdx, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x60], rdx
call fcn.0047b940
test rax, rax
mov rbp, rax
je 0x4701f0
cmp dword [r15 + 0x128], 9
je 0x4701d0
lea r11, [rbp + rsi]
test r12d, r12d
mov rax, r11
jne 0x46fde0
mov r8d, dword [rsp + 0x5c]
test r8d, r8d
jne 0x46fda2
mov ecx, dword [rsp + 0x50]
test ecx, ecx
jne 0x46fd60
test r13d, r13d
jne 0x46fd30
mov rdx, qword [r15 + 0x38]
mov r13, qword [rdx]
test r13, r13
je 0x46fb74
and r12d, 1
je 0x46fcd3
cmp byte [rsp + 0x5b], 1
jne 0x46fcd3
lea r12, [0x004cc440]
lea r14, str._s:__s_r_n
jmp 0x46fb1c
mov r13, qword [r13]
test r13, r13
je 0x46fb71
cmp dword [r13 + 0x18], edi
jne 0x46fb13
mov rcx, qword [r13 + 8]
mov rdx, r12
mov qword [rsp + 0x50], r11
call fcn.0047bb90
test eax, eax
mov r11, qword [rsp + 0x50]
jne 0x470240
mov rax, qword [r13 + 0x10]
mov r9, qword [r13 + 8]
mov rdx, rbx
sub rdx, rsi
mov rcx, r11
mov r8, r14
mov qword [rsp + 0x20], rax
call fcn.0046f700
mov r13, qword [r13]
cdqe
add rsi, rax
lea r11, [rbp + rsi]
test r13, r13
jne 0x46fb1c
mov rax, r11
cmp dword [r15 + 0x128], 9
je 0x470170
add rsi, 2
mov edx, 0xa0d
cmp rsi, rbx
mov word [rax], dx
je 0x46fbb6
mov rax, qword [0x004d3430]
xor r9d, r9d
mov r8d, 0x6bd
lea rdx, str.T:_Bin_prep_mhd_src_libmicrohttpd_0.9.58_src_microhttpd_connection.c
mov rcx, qword [rax]
mov rax, qword [0x004d3420]
call qword [rax]
mov rax, qword [rsp + 0x60]
mov qword [r15 + 0x80], rbp
mov qword [r15 + 0xd0], rbx
mov qword [r15 + 0xc8], 0
mov qword [r15 + 0xc0], rax
mov eax, 1
add rsp, 0x288
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r14 + 8]
lea rdx, [0x004cc440]
call fcn.0047bb90
test eax, eax
jne 0x470425
mov rcx, qword [r14 + 8]
call sub.msvcrt.dll_strlen
mov rcx, qword [r14 + 0x10]
mov rbp, rax
lea rbx, [rbx + rbp + 4]
call sub.msvcrt.dll_strlen
add rbx, rax
nop dword [rax]
mov r14, qword [r14]
test r14, r14
je 0x46fa7b
cmp dword [r14 + 0x18], edi
jne 0x46fc30
jmp 0x46fbf4
mov rdx, qword [r15 + 0x38]
xor r13d, r13d
mov dword [rsp + 0x50], 0
xor r12d, r12d
mov byte [rsp + 0x5b], 0
mov rax, rdx
movzx edx, byte [rsp + 0x5b]
mov dword [rsp + 0x5c], 0
test dl, dl
je 0x46fc77
mov dword [r15 + 0x70], 1
mov r11d, dword [rsp + 0x5c]
test r11d, r11d
je 0x46fa12
add rbx, 0x18
jmp 0x46fa12
mov rcx, qword [rcx + 0x40]
mov r8d, 1
xor edx, edx
call fcn.0047b940
mov qword [r15 + 0xd0], 0
mov qword [r15 + 0x80], rax
mov eax, 1
mov qword [r15 + 0xc8], 0
mov qword [r15 + 0xc0], 0
jmp 0x46fbe0
lea r12, str._s:__s_r_n
cmp dword [r13 + 0x18], edi
je 0x46fcf3
mov r13, qword [r13]
test r13, r13
je 0x46fb71
cmp dword [r13 + 0x18], edi
jne 0x46fce0
mov rax, qword [r13 + 0x10]
mov r9, qword [r13 + 8]
mov rdx, rbx
sub rdx, rsi
mov rcx, r11
mov r8, r12
mov qword [rsp + 0x20], rax
call fcn.0046f700
mov r13, qword [r13]
cdqe
add rsi, rax
lea r11, [rbp + rsi]
test r13, r13
jne 0x46fcda
jmp 0x46fb71
mov r14, qword [rsp + 0x68]
lea rdx, [rsp + 0x100]
mov rcx, r11
mov r8, r14
add rsi, r14
call sub.msvcrt.dll_memcpy
lea r11, [rbp + rsi]
mov rax, r11
jmp 0x46fade
movabs rax, 0x726566736e617254
movabs rdx, 0x6e69646f636e452d
add rsi, 0x1c
mov qword [r11], rax
movabs rax, 0x6b6e756863203a67
mov qword [r11 + 8], rdx
mov qword [r11 + 0x10], rax
mov dword [r11 + 0x18], 0xa0d6465
lea r11, [rbp + rsi]
mov rax, r11
jmp 0x46fad5
movabs rax, 0x697463656e6e6f43
movabs rdx, 0x7065654b203a6e6f
add rsi, 0x18
mov qword [r11], rax
movabs rax, 0xa0d6576696c412d
mov qword [r11 + 8], rdx
mov qword [r11 + 0x10], rax
lea r11, [rbp + rsi]
mov rax, r11
jmp 0x46fac9
movabs rax, 0x697463656e6e6f43
movabs rdx, 0x736f6c63203a6e6f
mov r9d, 0xd65
add rsi, 0x13
mov qword [r11], rax
mov qword [r11 + 8], rdx
mov word [r11 + 0x10], r9w
mov byte [r11 + 0x12], 0xa
lea r11, [rbp + rsi]
mov rax, r11
jmp 0x46fabb
mov ecx, edi
call sym.xmrig.exe_MHD_get_reason_phrase_for
mov ebx, dword [r15 + 0x130]
mov rsi, rax
lea r9, [0x004cc476]
test ebx, ebx
js 0x46fe60
mov rdx, qword [r15 + 0x68]
lea rcx, str.HTTP_1.0
call fcn.0047bb90
lea r9, str.HTTP_1.1
test eax, eax
lea rax, str.HTTP_1.0
cmovne r9, rax
lea rbx, [rsp + 0x180]
lea r8, str._s__u__s_r_n
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
mov edx, 0x100
mov rcx, rbx
mov rsi, rbx
call fcn.0046f700
mov edx, dword [rsi]
add rsi, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x46fe88
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [rsi + 2]
mov ecx, eax
cmove rsi, rdx
add cl, al
mov rax, qword [r15 + 0x20]
sbb rsi, 3
sub rsi, rbx
test byte [rax + 0x194], 0x80
lea r12, [rsi + 2]
je 0x470314
lea rbp, [rsp + 0x80]
mov byte [rsp + 0x80], 0
mov rbx, rbp
mov edx, dword [rbx]
add rbx, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x46fee7
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [rbx + 2]
cmove rbx, rdx
mov edx, eax
add dl, al
sbb rbx, 3
sub rbx, rbp
add rbx, r12
cmp dword [r15 + 0x128], 9
jne 0x4704e9
mov rcx, qword [r15 + 0x38]
lea r8, str.close
lea rdx, [0x004cc440]
mov r9d, 5
call fcn.0047d3c0
mov rcx, qword [r15 + 0x38]
lea r8, str.Keep_Alive
lea rdx, [0x004cc440]
mov r9d, 0xa
mov ebp, eax
call fcn.0047d3c0
mov r14, qword [r15 + 0x28]
mov byte [rsp + 0x5b], al
test r14, r14
je 0x46ffc0
lea r12, [0x004cc440]
lea r13, str.close
test byte [r14 + 0x18], 1
je 0x46ffb8
mov rdx, qword [r14 + 8]
cmp rdx, r12
je 0x46ffa2
mov rcx, r12
call fcn.0047bb90
test eax, eax
je 0x46ffb8
mov rcx, qword [r14 + 0x10]
mov r8d, 5
mov rdx, r13
call fcn.0047bc90
test al, al
jne 0x46ffc2
mov r14, qword [r14]
test r14, r14
jne 0x46ff86
xor eax, eax
mov rcx, qword [r15 + 0x38]
test byte [rcx + 0x90], 1
jne 0x46ffd6
cmp qword [rcx + 0x28], 0
je 0x46ffde
mov dword [r15 + 0x70], 0xffffffff
mov byte [r15 + 0x134], 0
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x4702b0
test al, al
jne 0x4700c0
mov dword [rsp + 0x50], 0
xor r12d, r12d
cmp byte [r15 + 0x121], 0
jne 0x4700cb
cmp dword [r15 + 0x70], 0xffffffff
je 0x4700cb
lea rdx, str.Content_Length
xor r13d, r13d
call sym.xmrig.exe_MHD_get_response_header
mov rdx, qword [r15 + 0x38]
mov r9, qword [rdx + 0x60]
cmp r9, 0xffffffffffffffff
je 0x4700f7
cmp edi, 0xcc
je 0x4700f4
cmp edi, 0x130
je 0x4700f4
cmp edi, 0xc7
jbe 0x4700f4
test rax, rax
jne 0x4700f4
mov rcx, qword [r15 + 0x58]
test rcx, rcx
je 0x470090
lea rdx, str.CONNECT
call fcn.0047bb90
test eax, eax
jne 0x470442
mov rax, qword [r15 + 0x38]
mov r9, qword [rax + 0x60]
lea rcx, [rsp + 0x100]
lea r8, str.Content_Length:__llu_r_n
mov edx, pe_nt_image_headers64
mov r13d, 1
call fcn.0046f700
cdqe
mov rdx, qword [r15 + 0x38]
mov qword [rsp + 0x68], rax
jmp 0x4700f7
mov dword [rsp + 0x50], 0
xor r12d, r12d
test bpl, bpl
jne 0x470210
cmp qword [rcx + 0x28], 0
jne 0x47001d
test byte [rcx + 0x90], 1
mov eax, 1
cmove r12d, eax
jmp 0x47001d
xor r13d, r13d
movzx eax, byte [rsp + 0x5b]
mov ecx, dword [r15 + 0x70]
or al, bpl
jne 0x470270
test r12d, r12d
mov rax, rdx
jne 0x470300
cmp ecx, 0xffffffff
je 0x470154
cmp qword [rdx + 0x28], 0
jne 0x470154
mov rcx, r15
mov edi, 1
call fcn.0046f820
cmp eax, 1
mov byte [rsp + 0x5b], 0
sete dl
cmp dword [r15 + 0x70], 0xffffffff
movzx eax, dl
mov dword [rsp + 0x5c], eax
mov rax, qword [r15 + 0x38]
je 0x46fc77
jmp 0x46fc6b
mov dword [rsp + 0x5c], 0
mov byte [rsp + 0x5b], 0
mov edi, 1
jmp 0x46fa12
lea rdi, [rsp + 0x80]
mov rcx, r11
mov rdx, rdi
call sub.msvcrt.dll_strcpy
mov rdx, rdi
mov ecx, dword [rdx]
add rdx, 4
lea eax, [rcx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x470186
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea rcx, [rdx + 2]
cmove rdx, rcx
mov ecx, eax
add cl, al
sbb rdx, 3
sub rdx, rdi
add rsi, rdx
lea rax, [rbp + rsi]
jmp 0x46fb82
lea rdx, [rsp + 0x180]
mov r8, rsi
mov rcx, rax
call sub.msvcrt.dll_memcpy
jmp 0x46faaa
mov rcx, qword [r15 + 0x20]
lea rdx, str.Not_enough_memory_for_write__n
call fcn.0047b4a0
xor eax, eax
jmp 0x46fbe0
lea rdx, str.Content_Length
call sym.xmrig.exe_MHD_get_response_header
mov rdx, qword [r15 + 0x38]
mov r9, qword [rdx + 0x60]
cmp r9, 0xffffffffffffffff
jne 0x47003e
xor r13d, r13d
cmp dword [r15 + 0x70], 0xffffffff
jne 0x470284
jmp 0x47028c
mov rcx, qword [r13 + 0x10]
lea rdx, str.Keep_Alive
mov qword [rsp + 0x50], r11
call fcn.0047bb90
test eax, eax
mov r11, qword [rsp + 0x50]
jne 0x46fb13
jmp 0x46fb40
cmp ecx, 0xffffffff
je 0x47028c
test r12b, 1
jne 0x470284
test bpl, bpl
je 0x4704df
mov dword [r15 + 0x70], 0xffffffff
test r12d, r12d
mov rax, rdx
je 0x47044e
add rbx, 0x13
mov edi, 1
mov r12d, 1
jmp 0x46fa0a
cmp qword [rcx + 0x28], 0
jne 0x46fff1
test bpl, bpl
jne 0x46fff1
test al, al
jne 0x4700c0
mov rcx, r15
call fcn.0046f820
cmp eax, 1
mov dword [rsp + 0x50], eax
je 0x470458
mov rcx, qword [r15 + 0x38]
mov dword [rsp + 0x50], 0
mov r12d, 1
jmp 0x470004
cmp ecx, 0xffffffff
mov byte [rsp + 0x5b], 0
je 0x470298
mov dword [r15 + 0x70], 0xffffffff
jmp 0x470298
mov rcx, qword [r15 + 0x38]
lea rdx, str.Date
call sym.xmrig.exe_MHD_get_response_header
test rax, rax
jne 0x46fed4
lea rbx, [rsp + 0x78]
mov byte [rsp + 0x80], 0
lea rbp, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__time64]
lea rcx, [rsp + 0x100]
mov rdx, rbx
call qword [0x004c21c0]
test eax, eax
jne 0x46fee4
mov ecx, dword [rsp + 0x118]
mov edx, 0x92492493
lea r8, str.Date:__3s___02u__3s__04u__02u:_02u:_02u_GMT_r_n
mov eax, ecx
imul edx
lea eax, [rdx + rcx]
mov edx, ecx
sar edx, 0x1f
sar eax, 2
sub eax, edx
lea edx, [rax*8]
sub edx, eax
sub ecx, edx
lea rdx, [0x004ccfc0]
movsxd rax, ecx
mov ecx, dword [rsp + 0x110]
mov r9, qword [rdx + rax*8]
mov eax, dword [rsp + 0x100]
mov edx, 0x2aaaaaab
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x104]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x114]
add eax, 0x76c
mov dword [rsp + 0x30], eax
mov eax, ecx
imul edx
mov eax, edx
mov edx, ecx
sar edx, 0x1f
sar eax, 1
sub eax, edx
lea rdx, [0x004cd040]
lea eax, [rax + rax*2]
shl eax, 2
sub ecx, eax
movsxd rax, ecx
mov rcx, rbp
mov rax, qword [rdx + rax*8]
mov edx, pe_nt_image_headers64
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x10c]
mov dword [rsp + 0x20], eax
call fcn.0046f700
jmp 0x46fee4
mov rcx, qword [r14 + 0x10]
lea rdx, str.Keep_Alive
call fcn.0047bb90
test eax, eax
jne 0x46fc30
jmp 0x46fc0c
xor r13d, r13d
mov rdx, qword [r15 + 0x38]
jmp 0x4700f7
mov edi, 1
jmp 0x46fa0a
mov rdx, qword [r15 + 0x68]
lea rcx, str.HTTP_1.1
call fcn.0047bb90
test eax, eax
mov rcx, qword [r15 + 0x38]
je 0x4702e5
lea rdx, str.Transfer_Encoding
call sym.xmrig.exe_MHD_get_response_header
test rax, rax
je 0x4704b4
lea rdx, str.identity
mov rcx, rax
call fcn.0047bb90
test eax, eax
mov r12d, eax
jne 0x4704c8
mov byte [r15 + 0x134], 1
mov rcx, qword [r15 + 0x38]
mov dword [rsp + 0x50], 0
jmp 0x470004
mov byte [r15 + 0x134], 1
mov rcx, qword [r15 + 0x38]
xor r12d, r12d
jmp 0x470004
mov rcx, qword [r15 + 0x38]
mov r12d, 1
mov dword [rsp + 0x50], 0
jmp 0x470004
mov edi, 1
jmp 0x46fc5b
mov edi, 1
jmp 0x46f9e8