Function at 0x47fac0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
sub esp, 0x27c
mov eax, dword [eax + 0x34]
cmp byte [eax], 0
je 0x47fe10
mov edi, dword [ebp + 0xac]
and edi, 0x7fffffff
cmp dword [ebp + 0xa4], 9
je 0x47ff60
mov edi, 0x10
mov dword [esp + 0x3c], 0
mov esi, 2
cmp dword [ebp + 0x38], 0xffffffff
jne 0x47fdc2
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x53], 0
mov dword [esp + 0x54], 0
mov ebx, dword [esp + 0x4c]
lea eax, [esi + 0x1c]
mov ecx, dword [esp + 0x48]
test ebx, ebx
mov ebx, dword [edx]
cmovne esi, eax
mov eax, dword [esp + 0x5c]
add eax, esi
test ecx, ecx
cmovne esi, eax
test ebx, ebx
je 0x47fb9d
test byte [esp + 0x44], 1
je 0x47fe53
cmp byte [esp + 0x53], 1
mov dword [esp + 0x40], ebp
je 0x47fd6a
cmp dword [ebx + 0xc], edi
jne 0x47fb93
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov ebp, eax
mov eax, dword [ebx + 8]
lea esi, [esi + ebp + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add esi, eax
mov ebx, dword [ebx]
test ebx, ebx
jne 0x47fb70
mov ebp, dword [esp + 0x40]
lea eax, [esi + 1]
mov dword [esp + 8], 0
mov dword [esp + 0x58], eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b440
test eax, eax
mov dword [esp + 0x40], eax
je 0x480360
cmp dword [ebp + 0xa4], 9
je 0x4802e0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add edx, dword [esp + 0x3c]
test ecx, ecx
mov eax, edx
jne 0x47ff20
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x47fee0
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jne 0x47fe90
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x47fe60
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47fcb2
test byte [esp + 0x44], 1
je 0x47fdb2
cmp byte [esp + 0x53], 1
jne 0x47fdb2
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebp
mov esi, edx
mov ebp, ebx
mov ebx, dword [esp + 0x3c]
jmp 0x47fc4a
mov ebp, dword [ebp]
test ebp, ebp
je 0x47fca2
cmp dword [ebp + 0xc], edi
jne 0x47fc43
mov dword [esp + 4], 0x647900
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.0048b740
test eax, eax
jne 0x4803c0
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 8], str._s:__s_r_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
sub eax, ebx
mov dword [esp + 4], eax
call fcn.0047f7f0
mov ebp, dword [ebp]
add ebx, eax
mov eax, dword [esp + 0x40]
test ebp, ebp
lea esi, [eax + ebx]
jne 0x47fc4a
mov edx, esi
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov eax, edx
cmp dword [ebp + 0xa4], 9
je 0x480304
mov edx, 0xa0d
mov word [eax], dx
mov eax, dword [esp + 0x3c]
add eax, 2
cmp eax, esi
je 0x47fcf8
mov eax, dword [0x6ab740]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6bd
mov dword [esp + 4], str.T:_Bin_prep_mhd_src_libmicrohttpd_0.9.58_src_microhttpd_connection.c
mov dword [esp], eax
call dword [0x6ab744]
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x64], 0
mov dword [ebp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x60], eax
add esp, 0x27c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x647900
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.0048b740
test eax, eax
jne 0x4805b0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov ebp, eax
mov eax, dword [ebx + 8]
lea esi, [esi + ebp + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add esi, eax
lea esi, [esi]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47fb99
cmp dword [ebx + 0xc], edi
jne 0x47fd60
jmp 0x47fd20
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], str._s:__s_r_n
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov eax, esi
sub eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0047f7f0
mov ebx, dword [ebx]
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
test ebx, ebx
je 0x4803e0
mov ecx, dword [esp + 0x3c]
lea edx, [eax + ecx]
cmp dword [ebx + 0xc], edi
je 0x47fd71
mov ebx, dword [ebx]
test ebx, ebx
jne 0x47fdb2
jmp 0x47fcb0
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x53], 0
movzx eax, byte [esp + 0x53]
mov dword [esp + 0x54], 0
test al, al
je 0x47fdfa
mov dword [ebp + 0x38], 1
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x47fb35
add esi, 0x18
jmp 0x47fb35
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b440
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x40], eax
mov eax, 1
mov dword [ebp + 0x64], 0
mov dword [ebp + 0x60], 0
add esp, 0x27c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x40], ebp
jmp 0x47fb70
mov ebx, dword [esp + 0x5c]
lea eax, [esp + 0xf0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call sub.msvcrt.dll_memcpy
add dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add edx, eax
mov eax, edx
jmp 0x47fc0e
add dword [esp + 0x3c], 0x1c
mov dword [edx], 0x6e617254
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], 0x72656673
mov dword [edx + 8], 0x636e452d
mov dword [edx + 0xc], 0x6e69646f
mov dword [edx + 0x10], 0x63203a67
mov dword [edx + 0x14], 0x6b6e7568
mov dword [edx + 0x18], 0xa0d6465
mov edx, dword [esp + 0x40]
add edx, eax
mov eax, edx
jmp 0x47fc02
add dword [esp + 0x3c], 0x18
mov dword [edx], 0x6e6e6f43
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], 0x69746365
mov dword [edx + 8], 0x203a6e6f
mov dword [edx + 0xc], 0x7065654b
mov dword [edx + 0x10], 0x696c412d
mov dword [edx + 0x14], 0xa0d6576
mov edx, dword [esp + 0x40]
add edx, eax
mov eax, edx
jmp 0x47fbf6
mov ebx, 0xd65
add dword [esp + 0x3c], 0x13
mov dword [edx], 0x6e6e6f43
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], 0x69746365
mov dword [edx + 8], 0x203a6e6f
mov dword [edx + 0xc], 0x736f6c63
mov word [edx + 0x10], bx
mov byte [edx + 0x12], 0xa
mov edx, dword [esp + 0x40]
add edx, eax
mov eax, edx
jmp 0x47fbea
mov dword [esp], edi
call sym.xmrig_notls.exe_MHD_get_reason_phrase_for
mov esi, dword [ebp + 0xac]
mov ebx, eax
mov eax, 0x647936
test esi, esi
js 0x47ff9b
mov eax, dword [ebp + 0x34]
mov dword [esp], str.HTTP_1.0
mov dword [esp + 4], eax
call fcn.0048b740
mov edx, str.HTTP_1.0
test eax, eax
mov eax, str.HTTP_1.1
cmovne eax, edx
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x170]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s__u__s_r_n
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.0047f7f0
mov ecx, ebx
mov edx, dword [ecx]
add ecx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x47ffc8
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [ecx + 2]
cmovne edx, ecx
mov ecx, eax
add cl, al
mov eax, dword [ebp + 0x10]
sbb edx, 3
sub edx, ebx
test byte [eax + 0xdc], 0x80
mov dword [esp + 0x3c], edx
lea ecx, [edx + 2]
je 0x480493
lea ebx, [esp + 0x70]
mov byte [esp + 0x70], 0
mov esi, ebx
mov edx, dword [esi]
add esi, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x48001c
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [esi + 2]
cmove esi, edx
mov edx, eax
add dl, al
sbb esi, 3
sub esi, ebx
add esi, ecx
cmp dword [ebp + 0xa4], 9
jne 0x480684
mov dword [esp + 0xc], 5
mov dword [esp + 8], str.close
mov dword [esp + 4], 0x647900
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
call fcn.0048d070
mov dword [esp + 0xc], 0xa
mov byte [esp + 0x40], al
mov dword [esp + 8], str.Keep_Alive
mov dword [esp + 4], 0x647900
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
call fcn.0048d070
mov ebx, dword [ebp + 0x14]
mov byte [esp + 0x53], al
test ebx, ebx
je 0x4800fb
test byte [ebx + 0xc], 1
je 0x4800f5
mov eax, dword [ebx + 4]
cmp eax, 0x647900
je 0x4800d6
mov dword [esp + 4], eax
mov dword [esp], 0x647900
call fcn.0048b740
test eax, eax
je 0x4800f5
mov dword [esp + 8], 5
mov dword [esp + 4], str.close
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0048b860
test al, al
jne 0x4800fd
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4800b2
xor eax, eax
mov edx, dword [ebp + 0x1c]
test byte [edx + 0x60], 1
jne 0x48010d
mov ebx, dword [edx + 0x14]
test ebx, ebx
je 0x480114
mov dword [ebp + 0x38], 0xffffffff
mov byte [ebp + 0xb0], 0
mov ebx, dword [edx + 0x3c]
and ebx, dword [edx + 0x38]
cmp ebx, 0xffffffff
je 0x480430
test al, al
jne 0x480220
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
cmp byte [ebp + 0x9d], 0
jne 0x480230
cmp dword [ebp + 0x38], 0xffffffff
je 0x480230
mov dword [esp], edx
mov dword [esp + 4], str.Content_Length
call sym.xmrig_notls.exe_MHD_get_response_header
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], 0
mov ebx, dword [edx + 0x3c]
mov ecx, dword [edx + 0x38]
mov eax, ebx
and eax, ecx
cmp eax, 0xffffffff
je 0x480268
cmp edi, 0xcc
je 0x480260
cmp edi, 0x130
je 0x480260
cmp edi, 0xc7
jbe 0x480260
mov edi, dword [esp + 0x54]
test edi, edi
jne 0x480260
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4801e3
mov dword [esp + 4], str.CONNECT
mov dword [esp], eax
call fcn.0048b740
test eax, eax
jne 0x4805d0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
lea eax, [esp + 0xf0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], str.Content_Length:__llu_r_n
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call fcn.0047f7f0
mov dword [esp + 0x48], 1
mov dword [esp + 0x5c], eax
mov edx, dword [ebp + 0x1c]
jmp 0x480268
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
cmp byte [esp + 0x40], 0
jne 0x480380
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x480159
test byte [edx + 0x60], 1
mov eax, 1
cmovne eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
jmp 0x480159
mov dword [esp + 0x48], 0
movzx ecx, byte [esp + 0x40]
mov eax, dword [ebp + 0x38]
or cl, byte [esp + 0x53]
jne 0x4803f0
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x480480
cmp eax, 0xffffffff
je 0x4802c2
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x4802c2
mov eax, ebp
mov edi, 1
call fcn.0047f940
cmp eax, 1
mov edx, dword [ebp + 0x1c]
mov byte [esp + 0x53], 0
sete al
cmp dword [ebp + 0x38], 0xffffffff
movzx ecx, al
mov dword [esp + 0x54], ecx
je 0x47fdfa
jmp 0x47fdef
mov dword [esp + 0x54], 0
mov byte [esp + 0x53], 0
mov edi, 1
jmp 0x47fb35
lea eax, [esp + 0x170]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x47fbd4
lea ebx, [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], ebx
call sub.msvcrt.dll_strcpy
mov edx, ebx
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x480316
mov edi, eax
shr edi, 0x10
test eax, 0x8080
cmove eax, edi
lea edi, [edx + 2]
mov ecx, eax
cmove edx, edi
add cl, al
mov eax, dword [esp + 0x40]
sbb edx, 3
sub edx, ebx
add dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
add eax, ecx
jmp 0x47fcbf
mov dword [esp + 4], str.Not_enough_memory_for_write__n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
add esp, 0x27c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edx
mov dword [esp + 4], str.Content_Length
call sym.xmrig_notls.exe_MHD_get_response_header
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x54], eax
mov ebx, dword [edx + 0x3c]
mov ecx, dword [edx + 0x38]
mov eax, ebx
and eax, ecx
cmp eax, 0xffffffff
jne 0x48018b
cmp dword [ebp + 0x38], 0xffffffff
mov dword [esp + 0x48], 0
jne 0x480407
jmp 0x48040e
mov dword [esp + 4], str.Keep_Alive
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0048b740
test eax, eax
jne 0x47fc43
jmp 0x47fc6a
mov edi, dword [esp + 0x3c]
lea edx, [eax + edi]
jmp 0x47fcb0
cmp eax, 0xffffffff
je 0x48040e
test byte [esp + 0x44], 1
jne 0x480407
cmp byte [esp + 0x40], 0
je 0x48067a
mov dword [ebp + 0x38], 0xffffffff
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4805e0
add esi, 0x13
mov edi, 1
mov dword [esp + 0x44], 1
jmp 0x47fb2d
mov ecx, dword [edx + 0x14]
test ecx, ecx
jne 0x48012a
cmp byte [esp + 0x40], 0
jne 0x48012a
test al, al
jne 0x480220
mov eax, ebp
call fcn.0047f940
cmp eax, 1
mov dword [esp + 0x4c], eax
je 0x4805ea
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 1
jmp 0x480142
cmp eax, 0xffffffff
mov byte [esp + 0x53], 0
je 0x48041a
mov dword [ebp + 0x38], 0xffffffff
jmp 0x48041a
mov dword [esp + 4], str.Date
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call sym.xmrig_notls.exe_MHD_get_response_header
test eax, eax
mov ecx, dword [esp + 0x40]
jne 0x480011
lea ebx, [esp + 0x6c]
mov byte [esp + 0x70], 0
mov dword [esp], ebx
call sub.msvcrt.dll_time
lea eax, [esp + 0xf0]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp], eax
call dword [0x63a6b8]
test eax, eax
mov ecx, dword [esp + 0x40]
jne 0x48001a
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0x100]
mov edx, 0x2aaaaaab
mov dword [esp + 8], str.Date:__3s___02u__3s__04u__02u:_02u:_02u_GMT_r_n
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x104]
add eax, 0x76c
mov dword [esp + 0x18], eax
mov eax, esi
imul edx
mov eax, edx
mov edx, esi
sar edx, 0x1f
sar eax, 1
sub eax, edx
mov edx, 0x92492493
lea eax, [eax + eax*2]
shl eax, 2
sub esi, eax
mov eax, dword [esi*4 + 0x6484a0]
mov esi, dword [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x10], eax
mov eax, esi
imul edx
lea eax, [edx + esi]
mov edx, esi
sar edx, 0x1f
sar eax, 2
sub eax, edx
lea edx, [eax*8]
sub edx, eax
sub esi, edx
mov eax, dword [esi*4 + 0x648450]
mov dword [esp + 0xc], eax
call fcn.0047f7f0
mov ecx, dword [esp + 0x40]
jmp 0x48001a
mov dword [esp + 4], str.Keep_Alive
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0048b740
test eax, eax
jne 0x47fd60
jmp 0x47fd3b
mov dword [esp + 0x48], 0
mov edx, dword [ebp + 0x1c]
jmp 0x480268
mov edi, 1
jmp 0x47fb2d
mov eax, dword [ebp + 0x34]
mov dword [esp], str.HTTP_1.1
mov dword [esp + 4], eax
call fcn.0048b740
test eax, eax
je 0x480462
mov dword [esp + 4], str.Transfer_Encoding
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
call sym.xmrig_notls.exe_MHD_get_response_header
test eax, eax
je 0x48064b
mov dword [esp + 4], str.identity
mov dword [esp], eax
call fcn.0048b740
test eax, eax
mov dword [esp + 0x44], eax
jne 0x480662
mov byte [ebp + 0xb0], 1
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x4c], 0
jmp 0x480142
mov byte [ebp + 0xb0], 1
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x44], 0
jmp 0x480142
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], 0
jmp 0x480142
mov edi, 1
jmp 0x47fde2
mov edi, 1
jmp 0x47fb03