Function at 0x481d50
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp + 0x10]
movzx ecx, byte [ebp + 0xd4]
mov byte [ebp + 0x9f], 1
mov dword [esp + 0x30], eax
lea eax, [ebp + 0x24]
mov dword [esp + 0x24], eax
test cl, cl
jne case.0x481e5e.3
cmp dword [ebp + 0xa4], 0x15
ja case.0x481d8e.10
mov eax, dword [ebp + 0xa4]
jmp dword [eax*4 + 0x648338]
mov eax, dword [ebp + 0x5c]
cmp eax, dword [ebp + 0x58]
jne 0x481dd7
test eax, eax
lea esi, [eax + 0x400]
jne 0x481daf
mov edx, dword [ebp + 0x10]
mov esi, dword [edx + 0x6c]
shr esi, 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b4a0
test eax, eax
je 0x483c4d
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x58], esi
cmp byte [ebp + 0x9d], 0
jne case.0x481e5e.9
mov dword [ebp + 0xa8], 0
mov byte [ebp + 0x9f], 0
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esp + 0x40]
mov eax, ebp
call fcn.00484610
test eax, eax
mov edi, eax
je 0x481e1c
cmp byte [eax], 0
jne 0x48394f
mov edi, dword [ebp + 0xa4]
test edi, edi
jne 0x481fad
cmp byte [ebp + 0x9d], 0
jne 0x4828e3
movzx ecx, byte [ebp + 0xd4]
test cl, cl
jne case.0x481e5e.3
mov ebx, dword [ebp + 0x8c]
test ebx, ebx
jne 0x481e65
lea ebx, [ebp + 0x24]
cmp dword [ebp + 0xa4], 0x13
ja case.0x481e5e.3
mov eax, dword [ebp + 0xa4]
jmp dword [eax*4 + 0x648390]
call fcn.0048b6b0
sub eax, dword [ebp + 0x88]
cmp eax, ebx
jg 0x482c72
cmp byte [ebp + 0xd4], 0
jne case.0x481e5e.3
jmp 0x481e4c
mov dword [ebp + 0xa8], 1
jmp case.0x481e5e.3
xor edx, edx
mov eax, ebp
call fcn.00484610
test eax, eax
je 0x483304
cmp byte [eax], 0
je 0x482ce3
mov edx, eax
mov eax, ebp
call fcn.00480690
test eax, eax
jne 0x4837e7
mov ecx, str._html__head__title_Request_malformed__title___head__body_Your_HTTP_request_was_syntactically_incorrect.__body___html_
mov edx, 0x190
mov eax, ebp
call fcn.00484330
movzx ecx, byte [ebp + 0xd4]
jmp 0x481e3e
xor edx, edx
mov eax, ebp
call fcn.00484610
test eax, eax
mov ebx, eax
je 0x482c20
mov ecx, 1
mov edx, eax
mov eax, ebp
call fcn.00484770
test eax, eax
movzx ecx, byte [ebp + 0xd4]
je 0x481d77
cmp byte [ebx], 0
jne 0x481d77
sub ebx, dword [ebp + 0x3c]
mov dword [ebp + 0xa4], 3
mov dword [ebp + 0x6c], ebx
jmp 0x481d77
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x482a10
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x44]
mov byte [ebp + 0x94], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], edi
mov edx, dword [ebp + 0x34]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x30]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [eax + 4]
mov dword [esp], edx
call dword [eax]
test eax, eax
je 0x483350
mov eax, dword [ebp + 0xa4]
cmp eax, 0x13
jne 0x482a10
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
cmp dword [ebp + 0x80], 0x19
jne case.0x481d8e.10
mov dword [ebp + 0xa4], 6
mov eax, dword [ebp + 0x98]
lea esi, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], 4
jmp 0x482448
xor edx, edx
mov eax, ebp
call fcn.00484610
test eax, eax
je 0x483320
cmp byte [eax], 0
jne 0x4837c0
cmp byte [ebp + 0xd4], 0
mov dword [ebp + 0xa4], 9
jne case.0x481e5e.3
jmp 0x481d7b
xor edx, edx
mov eax, ebp
call fcn.00484610
test eax, eax
mov ebx, eax
je 0x482c60
mov ecx, 0x10
mov edx, eax
mov eax, ebp
call fcn.00484770
test eax, eax
movzx ecx, byte [ebp + 0xd4]
je 0x481d77
cmp byte [ebx], 0
jne 0x481d77
test cl, cl
mov dword [ebp + 0xa4], 9
jne case.0x481e5e.3
jmp 0x481d7b
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
jne 0x4820f9
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x44]
mov byte [ebp + 0x94], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], edi
mov edx, dword [ebp + 0x34]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x30]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [eax + 4]
mov dword [esp], edx
call dword [eax]
test eax, eax
je 0x4833e0
mov eax, dword [ebp + 0xa4]
cmp eax, 0x13
je 0x481fad
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x481e37
mov eax, ebp
call fcn.0047fac0
test eax, eax
je 0x4828d0
mov dword [ebp + 0xa4], 0xa
mov eax, dword [ebp + 0x98]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 1
mov dword [esp + 0x10], 4
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], 6
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
jmp 0x481e37
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x98]
lea esi, [esp + 0x44]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 6
test edx, edx
mov dword [esp], eax
je 0x4837fd
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
mov dword [ebp + 0xa4], 0x15
mov dword [esp + 4], ebp
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
call fcn.0048d720
cmp eax, 1
jne 0x4828e3
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x481fad
mov dword [ebp + 0x1c], 0
mov dword [esp], eax
call sym.xmrig_notls.exe_MHD_destroy_response
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x482a70
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x1c]
sub esp, 4
mov edx, dword [eax + 0x3c]
or edx, dword [eax + 0x38]
jne 0x482a7c
mov esi, dword [eax + 0xc]
test esi, esi
je 0x482232
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
movzx ecx, byte [ebp + 0xd4]
mov dword [ebp + 0xa4], 0x10
jmp 0x481d77
mov ebx, dword [ebp + 0x5c]
xor ecx, ecx
mov esi, dword [ebp + 0x70]
mov edi, dword [ebp + 0x74]
test ebx, ebx
jne 0x483080
mov edx, edi
or edx, esi
je 0x482bf0
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x481e3e
mov esi, dword [ebp + 0x5c]
test esi, esi
jne 0x481e3e
cmp byte [ebp + 0x9d], 0
je 0x481e3e
mov eax, 9
test cl, cl
mov dword [ebp + 0xa4], eax
jne case.0x481e5e.3
jmp 0x481d7b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x482c32
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 0x1c]
sub esp, 4
mov ebx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov edi, ebx
or edi, eax
mov edi, dword [esi + 0xc]
je 0x482e70
mov ecx, dword [ebp + 0x78]
mov edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x7c]
xor eax, edx
xor ebx, ecx
or ebx, eax
je 0x482e70
test edi, edi
je 0x482c50
mov ebx, dword [ebp + 0x60]
test ebx, ebx
je 0x483831
lea edi, [ebx - 0xc]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x34], edi
mov edi, dword [ebp + 0x40]
cmp edx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea ebx, [edi + 0xa]
ja 0x483be6
jae 0x483bdc
mov edi, dword [esi + 0x50]
xor edx, edx
mov eax, edi
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x483be6
ja 0x48235a
cmp eax, dword [esp + 0x28]
jbe 0x483be6
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub edi, edx
cmp edi, eax
cmova edi, eax
add edx, dword [esi + 4]
mov dword [esp], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
cmp edi, 0xfffffffe
je 0x4840a8
cmp edi, 0xffffffff
je 0x483d3f
mov eax, dword [esi + 0x3c]
or eax, dword [esi + 0x38]
je 0x483d3f
test edi, edi
je 0x483ddd
cmp edi, 0xffffff
mov eax, 0xffffff
lea esi, [esp + 0x44]
cmovg edi, eax
mov dword [esp + 8], str._X_r_n
mov dword [esp + 4], 0xa
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov ebx, 0xa
call fcn.0047f7f0
mov edx, dword [ebp + 0x40]
sub ebx, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
add edx, ebx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x40]
mov edx, 0xa0d
mov word [eax + edi + 0xa], dx
mov eax, edi
mov dword [ebp + 0x64], ebx
cdq
add dword [ebp + 0x78], edi
adc dword [ebp + 0x7c], edx
add edi, 0xc
mov dword [ebp + 0x68], edi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x482428
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [ebp + 0xa4], 0xe
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x44], 1
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 6
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
movzx ecx, byte [ebp + 0xd4]
sub esp, 0x14
jmp 0x481d77
cmp byte [ebp + 0xa0], 0
jne 0x4825d2
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x10]
mov byte [ebp + 0xa0], 1
test eax, eax
je 0x4824a1
mov dword [esp], eax
call sym.xmrig_notls.exe_MHD_destroy_response
mov dword [ebp + 0x1c], 0
lea esi, [ebx + 0x9c]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 4
cmp byte [ebp + 0xd4], 0
jne 0x482dc1
test byte [ebx + 0xdc], 4
jne 0x48250b
mov edi, dword [ebx + 0xd4]
cmp dword [ebp + 0x8c], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
je 0x483d44
test eax, eax
je 0x483ef3
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x483efb
mov dword [eax + 0xc], edx
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
test eax, eax
je 0x483cd9
mov dword [eax], edx
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
test eax, eax
je 0x483cd1
mov dword [eax + 4], edx
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov eax, dword [ebx + 0x18]
mov dword [ebp + 4], 0
mov dword [ebp], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x483829
mov eax, dword [ebx + 0x18]
mov dword [eax + 4], ebp
mov dword [ebx + 0x18], ebp
mov byte [ebp + 0xdc], 0
mov byte [ebp + 0x9f], 0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
test byte [ebx + 0xdc], 4
je 0x4825d2
cmp dword [ebx + 0xbc], 0xffffffff
je 0x4825d2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x648211
mov eax, dword [ebx + 0xc0]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
test eax, eax
jg 0x4825d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4825d2
mov dword [esp + 4], str.Failed_to_signal_end_of_connection_via_inter_thread_communication_channel
mov dword [esp], ebx
call fcn.0048aef0
mov byte [ebp + 0x9f], 0
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebp
call fcn.0047fac0
test eax, eax
je 0x4828d0
cmp byte [ebp + 0xb0], 0
je 0x482d00
mov eax, dword [ebp + 0x68]
cmp dword [ebp + 0x64], eax
je 0x482d00
mov dword [ebp + 0xa4], 0x11
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x482666
nop
lea esi, [esi]
test byte [ebx + 0xc], 1
je 0x482660
mov eax, dword [ebx + 4]
cmp eax, str.Cookie
je 0x482eb0
test eax, eax
je 0x482660
mov dword [esp + 4], eax
mov dword [esp], str.Cookie
call fcn.0048b740
test eax, eax
jne 0x482eb0
mov ebx, dword [ebx]
test ebx, ebx
jne 0x482630
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xe4]
test eax, eax
jle 0x482970
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x482970
mov dword [esp + 4], eax
mov dword [esp], str.HTTP_1.1
call fcn.0048b740
test eax, eax
je 0x482970
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4826d7
test byte [ebx + 0xc], 1
je 0x4826d1
mov eax, dword [ebx + 4]
cmp eax, str.Host
je 0x48295c
test eax, eax
je 0x4826d1
mov dword [esp + 4], eax
mov dword [esp], str.Host
call fcn.0048b740
test eax, eax
jne 0x48295c
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4826a1
mov dword [ebp + 0xa4], 9
mov byte [ebp + 0x9d], 1
mov dword [esp + 4], str.Received_HTTP_1.1_request_without__Host_header._n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov dword [esp + 8], 0
mov dword [esp + 4], str._html__head__title_quot_Host:quot__header_required__title___head__body_In_HTTP_1.1__requests_must_include_a_quot_Host:quot__header__and_your_HTTP_1.1_request_lacked_such_a_header.__body___html_
mov dword [esp], 0xc5
call sym.xmrig_notls.exe_MHD_create_response_from_buffer
mov dword [esp + 4], 0x190
mov ebx, eax
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym.xmrig_notls.exe_MHD_queue_response
mov dword [esp], ebx
call sym.xmrig_notls.exe_MHD_destroy_response
cmp dword [ebp + 0xa4], 0x13
movzx ecx, byte [ebp + 0xd4]
je 0x481d77
test cl, cl
mov dword [ebp + 0xa4], 4
jne case.0x481e5e.3
jmp 0x481d7b
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x5c], eax
jne 0x48413f
test eax, eax
lea esi, [eax + 0x400]
jne 0x48277e
mov edx, dword [ebp + 0x10]
mov esi, dword [edx + 0x6c]
shr esi, 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b4a0
test eax, eax
je 0x483332
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x58], esi
cmp dword [ebp + 0x5c], esi
jb 0x481dd7
nop
mov dword [ebp + 0xa8], 2
jmp case.0x481e5e.3
cmp dword [ebp + 0xac], 0x66
je 0x483050
mov eax, dword [ebp + 0x98]
lea esi, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], 4
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 4], 6
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp + 0x1c]
sub esp, 0x14
mov dword [esp], eax
call sym.xmrig_notls.exe_MHD_destroy_response
mov edi, dword [esp + 0x30]
mov dword [ebp + 0x1c], 0
mov edx, dword [edi + 0x38]
test edx, edx
je 0x482851
cmp byte [ebp + 0x94], 0
je 0x482851
mov eax, dword [esp + 0x24]
mov byte [ebp + 0x94], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [edi + 0x3c]
mov dword [esp], eax
call dword [edi + 0x38]
cmp dword [ebp + 0x38], 1
mov ebx, dword [ebp + 0x10]
jne 0x482ab4
cmp byte [ebp + 0x9d], 0
jne 0x482ab4
mov dword [ebp + 0x34], 0
mov dword [ebp + 0xa4], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x38], 0
mov eax, dword [ebx + 0x6c]
shr eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b570
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x6c]
shr eax, 1
mov dword [ebp + 0x58], eax
jmp 0x482b45
mov dword [esp + 4], str.Closing_connection__failed_to_create_response_header__n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov esi, dword [ebp + 0x1c]
test byte [ebx + 0xdd], 0x10
je 0x483030
test esi, esi
je 0x48291d
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x482949
cmp byte [ebp + 0x94], 0
je 0x482949
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov eax, dword [ebx + 8]
test eax, eax
je 0x4826d7
mov esi, esi
lea edi, [edi]
mov ebx, dword [ebp + 0x14]
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
test ebx, ebx
je 0x482735
lea esi, [esi]
test byte [ebx + 0xc], 1
je 0x4829c0
mov eax, dword [ebx + 4]
cmp eax, str.Transfer_Encoding
je 0x482ff0
test eax, eax
je 0x4829c0
mov dword [esp + 4], eax
mov dword [esp], str.Transfer_Encoding
call fcn.0048b740
test eax, eax
jne 0x482ff0
mov ebx, dword [ebx]
test ebx, ebx
jne 0x482990
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x482735
test byte [ebx + 0xc], 1
je 0x482a01
mov eax, dword [ebx + 4]
cmp eax, str.Content_Length
je 0x483ac9
test eax, eax
je 0x482a01
mov dword [esp + 4], eax
mov dword [esp], str.Content_Length
call fcn.0048b740
test eax, eax
jne 0x483ac9
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4829d1
jmp 0x482735
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x482e10
mov dword [esp + 4], str.POST
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
call fcn.0048b740
test eax, eax
je 0x483bbc
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
mov eax, 9
mov byte [ebp + 0x9d], 1
cmp byte [ebp + 0xd4], 0
mov dword [ebp + 0xa4], eax
jne case.0x481e5e.3
jmp 0x481d7b
mov edx, dword [eax + 0x3c]
or edx, dword [eax + 0x38]
je 0x482e00
mov eax, ebp
call fcn.004807d0
cmp eax, 1
jne 0x481e37
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x482aa5
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [ebp + 0xa4], 0xc
jmp 0x48211d
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
test byte [ebx + 0xdd], 0x10
mov esi, dword [ebp + 0x1c]
je 0x482e50
test esi, esi
je 0x482aeb
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x482b17
cmp byte [ebp + 0x94], 0
je 0x482b17
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov eax, dword [ebp + 0x20]
mov byte [ebp + 0x94], 0
mov dword [esp], eax
call fcn.0048b3d0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov byte [ebp + 0x94], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x80], 0
mov dword [ebp + 0xac], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 0
mov byte [ebp + 0xb0], 0
mov dword [ebp + 0xb8], 0
mov dword [ebp + 0xbc], 0
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0
mov dword [ebp + 0x68], 0
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
cmp byte [ebp + 0xb0], 0
mov eax, 9
je 0x482297
cmp byte [ebp + 0x9d], 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
jmp 0x482297
cmp dword [ebp + 0xa4], 2
je 0x481e2a
jmp 0x481fad
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov edi, eax
or edi, edx
je 0x482e00
xor edx, dword [ebp + 0x78]
xor eax, dword [ebp + 0x7c]
or eax, edx
je 0x482232
lea esi, [esp + 0x44]
jmp 0x482428
cmp dword [ebp + 0xa4], 8
je 0x481e2a
jmp 0x481fad
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov esi, dword [ebp + 0x1c]
test byte [ebx + 0xdd], 0x10
je 0x482e8c
test esi, esi
je 0x482cac
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x482cd7
cmp byte [ebp + 0x94], 0
je 0x482cd7
lea edx, [ebp + 0x24]
mov dword [esp + 0xc], 2
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
jmp case.0x481e5e.3
sub eax, dword [ebp + 0x3c]
mov dword [ebp + 0xa4], 3
movzx ecx, byte [ebp + 0xd4]
mov dword [ebp + 0x6c], eax
jmp 0x481d77
mov dword [ebp + 0xa4], 0x12
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov dword [ebp + 0xa8], 3
jmp case.0x481e5e.3
cmp byte [ebp + 0x9d], 0
je 0x481de4
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov edi, dword [ebp + 0x1c]
test byte [esi + 0xdd], 0x10
jne 0x482d7a
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
test edi, edi
je 0x482d8d
mov dword [ebp + 0x1c], 0
mov dword [esp], edi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [esi + 0x38]
test eax, eax
je 0x482db5
cmp byte [ebp + 0x94], 0
je 0x482db5
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov edx, dword [esi + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
jmp 0x481e4f
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
test eax, eax
je 0x483cc9
mov dword [eax], edx
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
test eax, eax
je 0x483cc1
mov dword [eax + 4], edx
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov byte [ebp + 0xd4], 0
jmp 0x48253a
mov dword [ebp + 0xa4], 0x10
jmp 0x481d7b
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x482e3a
mov dword [esp + 4], str.HTTP_1.1
mov dword [esp], eax
call fcn.0048b740
test eax, eax
jne 0x483dec
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x482a1b
mov eax, dword [ebp + 0x74]
or eax, dword [ebp + 0x70]
cmp eax, 1
sbb eax, eax
and eax, 3
add eax, 6
jmp 0x482a50
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x482ad8
test edi, edi
je 0x482232
add esi, 0x1c
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x482232
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x482c99
mov esi, dword [ebx + 8]
test esi, esi
je 0x482666
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b440
test eax, eax
mov ebx, eax
je 0x48391b
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
jmp 0x482f07
add ebx, 1
movzx edx, byte [ebx]
cmp dl, 0x20
je 0x482f04
lea eax, [edx - 0x3b]
mov esi, ebx
test al, 0xfd
je 0x482f4c
cmp dl, 0x2c
setne cl
test dl, dl
setne al
test cl, al
jne 0x482f37
jmp 0x482f4c
lea eax, [edx - 0x3b]
test al, 0xfd
je 0x482f4c
add esi, 1
movzx edx, byte [esi]
test dl, dl
setne cl
cmp dl, 0x2c
setne al
test cl, al
jne 0x482f30
cmp byte [esi - 1], 0x20
lea eax, [esi - 1]
jne 0x482f73
cmp eax, ebx
jae 0x482f64
jmp 0x482f73
cmp eax, ebx
jb 0x482f70
sub eax, 1
mov byte [eax + 1], 0
cmp byte [eax], 0x20
je 0x482f60
movzx edx, byte [esi]
cmp dl, 0x3d
mov byte [esi], 0
mov byte [esp + 0x28], dl
je 0x483260
mov dword [esp + 8], 1
mov dword [esp + 4], 0x10
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b440
test eax, eax
je 0x483230
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x647d90
mov dword [eax + 0xc], 2
mov dword [eax], 0
mov ecx, dword [ebp + 0x18]
movzx edx, byte [esp + 0x28]
test ecx, ecx
je 0x483bb1
mov dword [ecx], eax
mov dword [ebp + 0x18], eax
test dl, dl
je 0x482666
lea ebx, [esi + 1]
test ebx, ebx
jne 0x482f07
jmp 0x482666
mov eax, dword [ebx + 8]
test eax, eax
je 0x4829c6
mov dword [ebp + 0x70], 0xffffffff
mov dword [ebp + 0x74], 0xffffffff
mov dword [esp + 4], str.chunked
mov dword [esp], eax
call fcn.0048b740
test eax, eax
je 0x482735
mov byte [ebp + 0xb0], 1
jmp 0x482735
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x48290a
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0xa4], 4
mov dword [esp], eax
call sym.xmrig_notls.exe_MHD_destroy_response
mov dword [ebp + 0x1c], 0
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x482263
mov eax, dword [ebp + 0x3c]
movzx ecx, byte [ebp + 0xb0]
mov dword [esp + 0x34], eax
lea esi, [esi]
test cl, cl
je 0x4830b1
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
je 0x483470
mov eax, esi
mov edx, edi
add eax, 0xffffffff
adc edx, 0xffffffff
cmp edx, 0xffffffff
jb 0x4830c9
cmp eax, 0xfffffffd
ja 0x483220
xor edx, edx
cmp edx, edi
jb 0x483220
ja 0x4830e0
cmp ebx, esi
jbe 0x483220
lea esi, [esi]
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x24]
mov byte [ebp + 0x94], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x44]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x34]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x30]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [eax + 4]
mov dword [esp], edx
call dword [eax]
test eax, eax
je 0x483f03
mov eax, dword [esp + 0x44]
cmp esi, eax
jae 0x483169
mov eax, dword [0x6ab740]
mov dword [esp + 0xc], str.libmicrohttpd_API_violation
mov dword [esp + 8], 0x9b3
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 + 0x44]
test eax, eax
je 0x483190
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x28], 0
test byte [edx + 0xdc], 8
je 0x483190
cmp byte [ebp + 0xd4], 0
je 0x483c34
nop
movzx ecx, byte [ebp + 0xb0]
sub esi, eax
mov eax, esi
test cl, cl
je 0x4831ad
xor edi, edi
add dword [ebp + 0xc0], esi
adc dword [ebp + 0xc4], edi
mov edi, dword [ebp + 0x74]
mov esi, dword [ebp + 0x70]
sub ebx, eax
add dword [esp + 0x34], eax
mov edx, edi
and edx, esi
cmp edx, 0xffffffff
je 0x4831ce
xor edx, edx
sub esi, eax
sbb edi, edx
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x74], edi
cmp dword [esp + 0x28], 1
je 0x4830a0
test ebx, ebx
je 0x4831f4
mov eax, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov dword [ebp + 0x5c], ebx
cmp dword [ebp + 0xa4], 0x13
movzx ecx, byte [ebp + 0xd4]
je 0x481d77
mov esi, dword [ebp + 0x70]
mov edi, dword [ebp + 0x74]
jmp 0x482263
mov esi, ebx
jmp 0x4830e0
mov dword [esp + 4], str.Not_enough_memory_in_pool_to_allocate_header_record__n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov ecx, str._html__head__title_Request_too_big__title___head__body_Your_HTTP_header_was_too_big_for_the_memory_constraints_of_this_webserver.__body___html_
mov edx, 0x1af
mov eax, ebp
call fcn.00484330
jmp 0x482666
movzx ecx, byte [esi + 1]
lea edx, [esi + 1]
xor edi, edi
mov dword [esp + 0x28], edx
test cl, cl
mov eax, ecx
je 0x4832a0
test edi, edi
jne 0x483287
cmp al, 0x3b
je 0x48390c
cmp al, 0x2c
je 0x48390c
cmp al, 0x22
je 0x4832f1
add edx, 1
movzx eax, byte [edx]
test al, al
jne 0x483273
xor edi, edi
cmp cl, 0x22
je 0x483c0e
mov dword [esp + 8], 1
mov dword [esp + 4], 0x10
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b440
test eax, eax
je 0x483230
mov esi, dword [esp + 0x28]
mov dword [eax + 4], ebx
mov dword [eax + 0xc], 2
mov dword [eax], 0
mov dword [eax + 8], esi
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x483d1c
mov dword [edx], eax
mov ebx, edi
mov dword [ebp + 0x18], eax
jmp 0x482fdd
add edx, 1
movzx eax, byte [edx]
xor edi, 1
test al, al
jne 0x483273
jmp 0x483295
cmp dword [ebp + 0xa4], 1
je 0x481e2a
jmp 0x481fad
cmp dword [ebp + 0xa4], 7
je 0x481e2a
jmp 0x481fad
mov eax, dword [ebp + 0x10]
test byte [eax + 0xdc], 8
jne 0x483d29
mov esi, dword [ebp + 0x58]
jmp 0x4827a6
mov dword [esp + 4], str.Application_reported_internal_error__closing_connection._n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov esi, dword [ebp + 0x1c]
test byte [ebx + 0xdd], 0x10
je 0x483c8c
test esi, esi
je 0x48339d
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4833c9
cmp byte [ebp + 0x94], 0
je 0x4833c9
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
mov eax, dword [ebp + 0xa4]
jmp 0x481fa4
mov dword [esp + 4], str.Application_reported_internal_error__closing_connection._n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov esi, dword [ebp + 0x1c]
test byte [ebx + 0xdd], 0x10
je 0x483c6d
test esi, esi
je 0x48342d
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x483459
cmp byte [ebp + 0x94], 0
je 0x483459
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
mov eax, dword [ebp + 0xa4]
jmp 0x4820f0
mov eax, dword [ebp + 0xb8]
mov esi, dword [ebp + 0xc0]
mov edx, dword [ebp + 0xbc]
mov edi, dword [ebp + 0xc4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x2c]
or eax, edi
setne byte [esp + 0x38]
xor ecx, esi
mov eax, ecx
xor edx, edi
or eax, edx
sete cl
test byte [esp + 0x38], cl
je 0x4834bb
cmp ebx, 1
ja 0x484045
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp edi, edx
jb 0x483928
ja 0x4834d5
cmp esi, eax
jb 0x483928
test ebx, ebx
je 0x4831f4
mov edi, dword [esp + 0x34]
movzx eax, byte [edi]
cmp al, 0xd
sete cl
cmp al, 0xa
sete dl
or cl, dl
jne 0x484160
cmp al, 0x3b
je 0x484160
cmp ebx, 1
jbe 0x4841f6
movzx eax, byte [edi + 1]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484146
cmp al, 0x3b
je 0x484146
cmp ebx, 2
je 0x484218
movzx eax, byte [edi + 2]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484190
cmp al, 0x3b
je 0x484190
cmp ebx, 3
je 0x484207
movzx eax, byte [edi + 3]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484184
cmp al, 0x3b
je 0x484184
cmp ebx, 4
je 0x4841e5
movzx eax, byte [edi + 4]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484178
cmp al, 0x3b
je 0x484178
cmp ebx, 5
je 0x4841d4
movzx eax, byte [edi + 5]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x48416c
cmp al, 0x3b
je 0x48416c
cmp ebx, 6
je 0x4841a8
movzx eax, byte [edi + 6]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x48419c
cmp al, 0x3b
je 0x48419c
cmp ebx, 7
je 0x484238
movzx eax, byte [edi + 7]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484229
cmp al, 0x3b
je 0x484229
cmp ebx, 8
je 0x484278
movzx eax, byte [edi + 8]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484269
cmp al, 0x3b
je 0x484269
cmp ebx, 9
je 0x484258
movzx eax, byte [edi + 9]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484249
cmp al, 0x3b
je 0x484249
cmp ebx, 0xa
je 0x4842c5
movzx eax, byte [edi + 0xa]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x4842b6
cmp al, 0x3b
je 0x4842b6
cmp ebx, 0xb
je 0x4842e7
movzx eax, byte [edi + 0xb]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x4842a7
cmp al, 0x3b
je 0x4842a7
cmp ebx, 0xc
je 0x4842d6
movzx eax, byte [edi + 0xc]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484298
cmp al, 0x3b
je 0x484298
cmp ebx, 0xd
je 0x484311
movzx eax, byte [edi + 0xd]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x484289
cmp al, 0x3b
je 0x484289
cmp ebx, 0xe
je 0x483e71
movzx eax, byte [edi + 0xe]
cmp al, 0xa
sete cl
cmp al, 0xd
sete dl
or cl, dl
jne 0x4841c5
cmp al, 0x3b
je 0x4841c5
cmp ebx, 0xf
mov ecx, 0xf
mov esi, 0x10
je 0x483e7b
movzx eax, byte [edi + 0xf]
cmp al, 0xd
sete cl
cmp al, 0xa
sete dl
or cl, dl
jne 0x4841b9
cmp al, 0x3b
je 0x4841b9
mov esi, 0x11
mov ecx, 0x10
mov eax, dword [esp + 0x34]
mov edi, ecx
cmp byte [eax + ecx], 0x3b
je 0x484116
cmp ebx, esi
ja 0x48378e
cmp ecx, 1
jne 0x4831d9
cmp ebx, 2
jne 0x4831d9
mov eax, dword [esp + 0x34]
cmp byte [eax], 0x30
jne 0x484307
cmp edi, 0x10
jne 0x483f9e
mov dword [esp + 4], str.Received_malformed_HTTP_request__bad_chunked_encoding_._Closing_connection._n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov dword [esp + 4], 1
mov dword [esp], ebp
call fcn.00480c20
jmp 0x4831f7
mov edx, eax
mov eax, ebp
call fcn.00480690
test eax, eax
jne 0x483b9b
mov ecx, str._html__head__title_Request_malformed__title___head__body_Your_HTTP_request_was_syntactically_incorrect.__body___html_
mov edx, 0x190
mov eax, ebp
call fcn.00484330
jmp 0x481e37
mov dword [ebp + 0xa4], 2
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
cmp byte [ebp + 0xb0], 0
je 0x483cab
mov dword [ebp + 0xa4], 0xf
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov dword [ebx + 0x1c], ebp
jmp 0x482558
mov edx, dword [ebp + 0x10]
mov eax, 0x2000016
cmp dword [edx + 0x6c], 0x2000016
cmovbe eax, dword [edx + 0x6c]
mov ebx, eax
jmp 0x48386f
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.0048b440
test eax, eax
jne 0x483ce1
shr ebx, 1
cmp ebx, 0x7f
ja 0x483850
mov dword [esp + 4], str.Closing_connection__out_of_memory__n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov esi, dword [ebp + 0x1c]
test byte [ebx + 0xdd], 0x10
je 0x483eb0
test esi, esi
je 0x4838c3
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4838ee
cmp byte [ebp + 0x94], 0
je 0x4838ee
lea edx, [ebp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
mov eax, dword [ebp + 0x1c]
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x481e37
mov byte [edx], 0
lea edi, [edx + 1]
movzx ecx, byte [esi + 1]
jmp 0x483297
mov dword [esp + 4], str.Not_enough_memory_in_pool_to_parse_cookies__n
jmp 0x483238
sub eax, esi
sbb edx, edi
mov esi, eax
cmp edx, 0
ja 0x483220
cmp esi, ebx
ja 0x483220
xor eax, eax
cmp ebx, esi
seta al
mov dword [esp + 0x28], eax
jmp 0x4830e8
mov esi, dword [esp + 0x40]
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0x20
mov dword [esp], edi
mov dword [esp + 8], esi
mov dword [esp + 0x28], eax
call sub.msvcrt.dll_memchr
test eax, eax
je 0x483d65
lea ebx, [eax + 1]
mov byte [eax], 0
mov dword [ebp + 0x2c], edi
mov edx, ebx
sub edx, edi
cmp byte [eax + 1], 0x20
je 0x48399c
jmp 0x4839a0
add ebx, 1
mov edx, ebx
sub edx, edi
cmp byte [ebx], 0x20
jne 0x4839a0
cmp esi, edx
ja 0x483990
cmp esi, edx
je 0x483e82
lea eax, [edi + esi - 1]
movzx ecx, byte [eax]
cmp eax, ebx
mov byte [esp + 0x34], cl
seta cl
cmp byte [esp + 0x34], 0x20
mov edi, ecx
jne 0x4839ee
test cl, cl
je 0x4839ee
mov edi, edx
jmp 0x4839d4
test dl, dl
je 0x4839e4
sub eax, 1
movzx ecx, byte [eax]
cmp eax, ebx
seta dl
cmp cl, 0x20
je 0x4839d0
mov byte [esp + 0x34], cl
mov ecx, edi
mov edi, edx
mov edx, ecx
cmp byte [esp + 0x34], 0x20
je 0x483a0c
mov ecx, edi
test cl, cl
jne 0x483a04
jmp 0x483a0c
cmp eax, ebx
jbe 0x483a0c
sub eax, 1
cmp byte [eax], 0x20
jne 0x483a00
cmp eax, ebx
jbe 0x483ecf
lea edx, [eax + 1]
mov byte [eax], 0
sub eax, ebx
mov dword [ebp + 0x34], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x3f
mov dword [esp], ebx
call sub.msvcrt.dll_memchr
mov edx, eax
mov eax, dword [esp + 0x28]
mov edi, ebx
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x483a69
mov esi, dword [esp + 0x28]
mov byte [ebp + 0x94], 1
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x4c]
mov dword [esp], eax
call dword [esi + 0x48]
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x24], eax
test edx, edx
je 0x483a97
lea esi, [esp + 0x44]
lea eax, [edx + 1]
mov byte [edx], 0
mov dword [esp + 0xc], 0x4848f0
mov dword [esp + 4], 8
mov dword [esp + 0x10], esi
mov dword [esp + 8], eax
mov dword [esp], ebp
call fcn.0048b000
test edi, edi
je 0x483ab0
mov dword [esp + 8], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x54]
mov dword [esp], eax
call dword [edi + 0x50]
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0xa4], 1
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x482735
lea eax, [ebp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0048b990
add eax, ebx
cmp eax, ebx
je 0x483af2
cmp byte [eax], 0
je 0x482735
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
mov dword [esp + 4], str.Failed_to_parse__Content_Length_header._Closing_connection._n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov esi, dword [ebp + 0x1c]
test byte [ebx + 0xdd], 0x10
jne 0x483b50
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
test esi, esi
je 0x483b63
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x483b8f
cmp byte [ebp + 0x94], 0
je 0x483b8f
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
jmp 0x482735
mov dword [ebp + 0xa4], 8
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
jmp 0x482fd2
mov dword [esp + 4], 0x647d8c
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
call fcn.0048b740
test eax, eax
jne 0x482a36
jmp 0x482e3a
cmp eax, dword [esp + 0x28]
jbe 0x482337
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call dword [esi + 0xc]
mov edi, eax
jmp 0x482380
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add eax, esi
cmp byte [eax], 0x22
jne 0x4832a0
mov byte [eax], 0
lea eax, [esi + 2]
mov dword [esp + 0x28], eax
jmp 0x4832a0
mov dword [esp + 4], str.WARNING:_incomplete_upload_processing_and_connection_not_suspended_may_result_in_hung_connection._n
mov dword [esp], edx
call fcn.0048aef0
mov eax, dword [esp + 0x44]
jmp 0x483190
cmp dword [ebp + 0x30], 1
mov ecx, str._html__head__title_Request_too_big__title___head__body_Your_HTTP_header_was_too_big_for_the_memory_constraints_of_this_webserver.__body___html_
mov eax, ebp
sbb edx, edx
and edx, 0xffffffef
add edx, 0x1af
call fcn.00484330
jmp 0x481e4f
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x48341a
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x48338a
mov dword [ebp + 0xa4], 0xd
movzx ecx, byte [ebp + 0xd4]
jmp 0x481d77
mov dword [ebx + 0x14], edx
jmp 0x482de2
mov dword [ebx + 0x10], edx
jmp 0x482dd1
mov dword [ebx + 0xc], edx
jmp 0x48252c
mov dword [ebx + 8], edx
jmp 0x48251b
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x40], eax
mov edx, dword [esi + 0x3c]
or edx, dword [esi + 0x38]
jne 0x4842f8
mov dword [eax], 0xa0d30
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x68], 3
mov dword [ebp + 0x64], 0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
lea esi, [esp + 0x44]
jmp 0x48240f
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov ebx, edi
jmp 0x482fdd
mov ecx, str._html__head__title_Internal_server_error__title___head__body_Please_ask_the_developer_of_this_Web_server_to_carefully_read_the_GNU_libmicrohttpd_documentation_about_connection_management_and_blocking.__body___html_
mov edx, 0x1f4
mov eax, ebp
call fcn.00484330
jmp 0x481e4f
mov eax, dword [ebp + 0x40]
jmp 0x483cf3
test eax, eax
je 0x4840ee
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x4824fa
mov dword [ebx + 0x24], edx
jmp 0x4824fd
mov eax, dword [esp + 0x28]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov ebx, dword [ebp + 0x1c]
test byte [eax + 0xdd], 0x10
je 0x4840cf
test ebx, ebx
je 0x483da0
mov dword [ebp + 0x1c], 0
mov dword [esp], ebx
call sym.xmrig_notls.exe_MHD_destroy_response
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x482949
cmp byte [ebp + 0x94], 0
je 0x482949
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov edx, dword [edi + 0x3c]
mov dword [esp], edx
call eax
jmp 0x482949
mov dword [ebp + 0xa4], 0xf
jmp 0x4838f5
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x483e22
jmp 0x482e2f
test eax, eax
je 0x483e18
mov dword [esp + 4], eax
mov dword [esp], str.Expect
call fcn.0048b740
test eax, eax
jne 0x483e32
mov ebx, dword [ebx]
test ebx, ebx
je 0x482e2f
test byte [ebx + 0xc], 1
je 0x483e18
mov eax, dword [ebx + 4]
cmp eax, str.Expect
jne 0x483e00
mov eax, dword [ebx + 8]
test eax, eax
je 0x482e2f
mov dword [esp + 4], str.100_continue
mov dword [esp], eax
call fcn.0048b740
test eax, eax
je 0x482e2f
cmp dword [ebp + 0x80], 0x18
ja 0x482e2f
mov dword [ebp + 0xa4], 5
jmp 0x48211d
mov ecx, 0xe
mov esi, 0xf
mov edi, ecx
jmp 0x48376b
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x34], 0x647d90
xor edi, edi
xor edx, edx
mov ebx, 0x647d90
mov esi, dword [eax + 0x48]
test esi, esi
jne 0x483a42
jmp 0x483ab0
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x4838b0
sub esi, edx
mov dword [ebp + 0x34], 0x647d90
mov dword [esp + 4], 0x3f
mov dword [esp + 8], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memchr
mov edx, eax
jmp 0x483a35
mov dword [ebx + 0x28], edx
jmp 0x4824ec
mov dword [ebx + 0x2c], edx
jmp 0x4824fd
mov dword [esp + 4], str.Application_reported_internal_error__closing_connection._n
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0048aef0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xa4], 0x13
mov dword [ebp + 0xa8], 3
mov esi, dword [ebp + 0x1c]
test byte [ebx + 0xdd], 0x10
jne 0x483f53
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
test esi, esi
je 0x483f66
mov dword [ebp + 0x1c], 0
mov dword [esp], esi
call sym.xmrig_notls.exe_MHD_destroy_response
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x483f92
cmp byte [ebp + 0x94], 0
je 0x483f92
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebp + 0x94], 0
jmp 0x4831f7
lea eax, [ebp + 0xb8]
mov dword [esp + 4], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0048bd00
cmp eax, edi
jne 0x483797
mov eax, dword [esp + 0x34]
add eax, esi
cmp ebx, esi
jbe 0x483fe7
movzx edx, byte [eax]
mov ecx, dword [esp + 0x28]
cmp dl, 0xd
je 0x4840c1
cmp dl, 0xa
je 0x4840c1
sub ebx, esi
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 0
mov edx, dword [ebp + 0xb8]
mov ecx, dword [ebp + 0xbc]
je 0x48402a
or ecx, edx
jne 0x4840f6
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
mov dword [esp + 0x34], eax
jmp 0x4831d9
or ecx, edx
jne 0x4831f4
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
jmp 0x4831f4
mov eax, dword [esp + 0x34]
movzx eax, byte [eax]
cmp al, 0xd
je 0x484058
cmp al, 0xa
jne 0x483797
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 1]
cmp al, 0xd
je 0x48410c
cmp al, 0xa
je 0x48410c
mov eax, 1
sub ebx, eax
add dword [esp + 0x34], eax
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 0
mov dword [ebp + 0xb8], 0
mov dword [ebp + 0xbc], 0
jmp 0x4834d5
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp + 0x7c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov dword [esp + 4], str.Closing_connection__application_error_generating_response__n
jmp 0x48387e
mov eax, dword [esp + 0x34]
lea esi, [ecx + 2]
add eax, esi
jmp 0x483fe7
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x483d8d
mov dword [ebx + 0x20], edx
jmp 0x483d4f
movzx ecx, byte [ebp + 0xb0]
mov esi, dword [ebp + 0x70]
mov edi, dword [ebp + 0x74]
mov dword [esp + 0x34], eax
jmp 0x4830a0
mov eax, 2
jmp 0x484075
cmp ecx, ebx
jae 0x483e7b
mov edx, eax
jmp 0x48412e
movzx eax, byte [edx + ecx]
cmp al, 0xd
je 0x484137
cmp al, 0xa
je 0x484137
mov esi, ecx
add ecx, 1
cmp ecx, ebx
jb 0x484122
add esi, 2
jmp 0x48376b
mov esi, eax
jmp 0x4827a6
mov esi, 2
mov ecx, 1
cmp al, 0x3b
jne 0x483e7b
mov edi, ecx
mov edx, dword [esp + 0x34]
jmp 0x48412e
mov esi, 1
xor ecx, ecx
jmp 0x48375b
mov esi, 6
mov ecx, 5
jmp 0x484150
mov esi, 5
mov ecx, 4
jmp 0x484150
mov esi, 4
mov ecx, 3
jmp 0x484150
mov esi, 3
mov ecx, 2
jmp 0x484150
mov esi, 7
mov ecx, 6
jmp 0x484150
mov ecx, 6
mov esi, 7
mov edi, ecx
jmp 0x48376b
mov esi, 0x10
mov ecx, 0xf
jmp 0x484150
mov esi, 0xf
mov ecx, 0xe
jmp 0x484150
mov ecx, 5
mov esi, 6
mov edi, ecx
jmp 0x48376b
mov ecx, 4
mov esi, 5
mov edi, ecx
jmp 0x48376b
mov ecx, 1
mov esi, 2
mov edi, ecx
jmp 0x48376b
mov ecx, 3
mov esi, 4
mov edi, ecx
jmp 0x48376b
mov ecx, 2
mov esi, 3
mov edi, ecx
jmp 0x48376b
mov esi, 8
mov ecx, 7
jmp 0x484150
mov ecx, 7
mov esi, 8
mov edi, ecx
jmp 0x48376b
mov esi, 0xa
mov ecx, 9
jmp 0x484150
mov ecx, 9
mov esi, 0xa
mov edi, ecx
jmp 0x48376b
mov esi, 9
mov ecx, 8
jmp 0x484150
mov ecx, 8
mov esi, 9
mov edi, ecx
jmp 0x48376b
mov esi, 0xe
mov ecx, 0xd
jmp 0x484150
mov esi, 0xd
mov ecx, 0xc
jmp 0x484150
mov esi, 0xc
mov ecx, 0xb
jmp 0x484150
mov esi, 0xb
mov ecx, 0xa
jmp 0x484150
mov ecx, 0xa
mov esi, 0xb
mov edi, ecx
jmp 0x48376b
mov ecx, 0xc
mov esi, 0xd
mov edi, ecx
jmp 0x48376b
mov ecx, 0xb
mov esi, 0xc
mov edi, ecx
jmp 0x48376b
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x7c]
mov dword [esp + 0x28], eax
jmp 0x48230e
mov ebx, 2
jmp 0x4831dd
mov ecx, 0xd
mov esi, 0xe
mov edi, ecx
jmp 0x48376b