Function at 0x47e6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ebx, dword [esp + 0x20]
cmp byte [ebx + 0xd4], 0
jne case.0x47e6ea.0
cmp dword [ebx + 0xa4], 0x15
ja case.default.0x47e6ea
mov eax, dword [ebx + 0xa4]
jmp dword [eax*4 + 0x548e44]
mov eax, dword [ebx + 0x80]
mov edx, 0x19
mov dword [esp], ebx
sub edx, eax
add eax, str.HTTP_1.1_100_Continue_r_n_r_n
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dword [ebx + 0xcc]
test eax, eax
js 0x47ea90
mov ecx, dword [ebx + 0x8c]
add dword [ebx + 0x80], eax
test ecx, ecx
je case.0x47e6ea.0
cmp byte [ebx + 0xd4], 0
jne case.0x47e6ea.0
mov esi, dword [ebx + 0x10]
call fcn.00488c10
mov dword [ebx + 0x88], eax
test byte [esi + 0xdc], 4
jne case.0x47e6ea.0
mov eax, dword [esi + 0xd4]
cmp dword [ebx + 0x8c], eax
jne case.0x47e6ea.0
lea edi, [esi + 0x9c]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47edf8
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
test eax, eax
je 0x47edf0
mov dword [eax + 0xc], edx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [esi + 0x20]
mov dword [ebx + 8], eax
cmp dword [esi + 0x24], 0
je 0x47ede8
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], str.Internal_error_n
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00488450
mov esi, dword [ebx + 0x10]
mov dword [ebx + 0xa4], 0x13
mov dword [ebx + 0xa8], 3
mov edi, dword [ebx + 0x1c]
test byte [esi + 0xdd], 0x10
je 0x47ea70
test edi, edi
je 0x47e81d
mov dword [ebx + 0x1c], 0
mov dword [esp], edi
call sym.xmrig.exe_MHD_destroy_response
mov eax, dword [esi + 0x38]
test eax, eax
je 0x47e848
cmp byte [ebx + 0x94], 0
je 0x47e848
lea edx, [ebx + 0x24]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov edx, dword [esi + 0x3c]
mov dword [esp], edx
call eax
mov byte [ebx + 0x94], 0
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x68]
sub edx, eax
mov dword [esp + 8], edx
add eax, dword [ebx + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0xcc]
test eax, eax
jns 0x47eb60
cmp eax, 0xfffff3ff
je case.0x47e6ea.0
mov dword [esp + 4], str.Connection_was_closed_while_sending_response_headers._n
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00488450
jmp 0x47e7e3
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x68]
sub edx, eax
mov dword [esp + 8], edx
add eax, dword [ebx + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0xcc]
test eax, eax
jns 0x47eb10
cmp eax, 0xfffff3ff
je case.0x47e6ea.0
mov dword [esp + 4], str.Connection_was_closed_while_sending_response_body._n
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00488450
jmp 0x47e7e3
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
cmp edx, ecx
ja 0x47eaf0
jb 0x47e921
cmp eax, edi
jae 0x47eaf0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x47e937
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 4
mov eax, ebx
call fcn.0047dd30
cmp eax, 1
jne case.0x47e6ea.0
mov eax, dword [ebx + 0x78]
sub eax, dword [esi + 0x40]
mov edx, dword [ebx + 0x7c]
sbb edx, dword [esi + 0x44]
cmp edx, 0
ja 0x47ee5f
mov edx, dword [esi + 0x50]
sub edx, eax
mov dword [esp + 8], edx
add eax, dword [esi + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0xcc]
mov edi, eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x47e98d
add esi, 0x1c
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
test edi, edi
jns 0x47eaba
cmp edi, 0xfffff3ff
je case.0x47e6ea.0
mov eax, dword [ebx + 0x30]
mov dword [esp + 4], str.Failed_to_send_data_in_request_for___s._n
mov dword [esp + 8], eax
jmp 0x47eaaa
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x68]
sub edx, eax
mov dword [esp + 8], edx
add eax, dword [ebx + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0xcc]
test eax, eax
js 0x47e8d4
add dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x47e9f3
cmp byte [ebx + 0xd4], 0
je 0x47ec45
cmp dword [ebx + 0xa4], 0xe
jne case.0x47e6ea.0
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x64]
mov eax, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
xor eax, dword [ebx + 0x78]
xor edx, dword [ebx + 0x7c]
or edx, eax
sete al
movzx eax, al
add eax, 0xf
cmp dword [ebx + 0x68], ecx
jne case.0x47e6ea.0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0xa4], eax
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x60]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call fcn.00488a00
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x60], 0
jmp case.0x47e6ea.0
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x98]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
jmp 0x47e80a
cmp eax, 0xfffff3ff
je case.0x47e6ea.0
mov eax, dword [ebx + 0x30]
mov dword [esp + 4], str.Failed_to_send_data_in_request_for__s._n
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00488450
jmp 0x47e7e3
mov eax, edi
mov ecx, dword [ebx + 0x8c]
cdq
add eax, dword [ebx + 0x78]
adc edx, dword [ebx + 0x7c]
test ecx, ecx
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
je 0x47eae0
cmp byte [ebx + 0xd4], 0
je 0x47ed67
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
lea esi, [esi]
xor edi, eax
xor ecx, edx
or ecx, edi
jne case.0x47e6ea.0
mov dword [ebx + 0xa4], 0x12
jmp case.0x47e6ea.0
mov ecx, dword [ebx + 0x8c]
add dword [ebx + 0x64], eax
test ecx, ecx
je 0x47eb2a
cmp byte [ebx + 0xd4], 0
je 0x47ebb0
cmp dword [ebx + 0xa4], 0x11
jne case.0x47e6ea.0
mov eax, dword [ebx + 0x64]
cmp dword [ebx + 0x68], eax
jne case.0x47e6ea.0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0xa4], 0x12
jmp 0x47ea3a
add dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x47eb7a
cmp byte [ebx + 0xd4], 0
je 0x47ecda
cmp dword [ebx + 0xa4], 0xa
jne case.0x47e6ea.0
mov eax, dword [ebx + 0x64]
cmp dword [ebx + 0x68], eax
jne case.0x47e6ea.0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0xa4], 0xb
jmp 0x47ea3a
mov esi, dword [ebx + 0x10]
call fcn.00488c10
mov dword [ebx + 0x88], eax
test byte [esi + 0xdc], 4
jne 0x47eb2a
mov eax, dword [esi + 0xd4]
cmp dword [ebx + 0x8c], eax
jne 0x47eb2a
lea edi, [esi + 0x9c]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47edc2
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebx + 8]
test eax, eax
je 0x47edb7
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [esi + 0x20]
mov dword [ebx + 8], eax
cmp dword [esi + 0x24], 0
je 0x47edaf
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
jmp 0x47eb2a
mov esi, dword [ebx + 0x10]
call fcn.00488c10
mov dword [ebx + 0x88], eax
test byte [esi + 0xdc], 4
jne 0x47e9f3
mov eax, dword [esi + 0xd4]
cmp dword [ebx + 0x8c], eax
jne 0x47e9f3
lea edi, [esi + 0x9c]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47eddd
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
test eax, eax
je 0x47edd5
mov dword [eax + 0xc], edx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [esi + 0x20]
mov dword [ebx + 8], eax
cmp dword [esi + 0x24], 0
je 0x47edcd
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
jmp 0x47e9f3
mov esi, dword [ebx + 0x10]
call fcn.00488c10
mov dword [ebx + 0x88], eax
test byte [esi + 0xdc], 4
jne 0x47eb7a
mov eax, dword [esi + 0xd4]
cmp dword [ebx + 0x8c], eax
jne 0x47eb7a
lea edi, [esi + 0x9c]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47eda4
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebx + 8]
test eax, eax
je 0x47ed9c
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [esi + 0x20]
mov dword [ebx + 8], eax
cmp dword [esi + 0x24], 0
je 0x47ed97
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
jmp 0x47eb7a
mov esi, dword [ebx + 0x10]
call fcn.00488c10
mov dword [ebx + 0x88], eax
test byte [esi + 0xdc], 4
jne 0x47ed8c
mov eax, dword [esi + 0xd4]
cmp dword [ebx + 0x8c], eax
je 0x47ee03
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
jmp 0x47eae0
mov dword [esi + 0x24], ebx
jmp 0x47ed55
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x24], eax
jmp 0x47ed35
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
jmp 0x47ed28
mov dword [esi + 0x24], ebx
jmp 0x47ec33
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x24], eax
jmp 0x47ec0f
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
jmp 0x47ebfe
mov dword [esi + 0x24], ebx
jmp 0x47ecc8
mov dword [esi + 0x24], edx
jmp 0x47eca4
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
jmp 0x47ec93
mov dword [esi + 0x24], ebx
jmp 0x47e7b8
mov dword [esi + 0x24], edx
jmp 0x47e794
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
jmp 0x47e783
lea edi, [esi + 0x9c]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47ee8f
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
test eax, eax
je 0x47ee8a
mov dword [eax + 0xc], edx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [esi + 0x20]
mov dword [ebx + 8], eax
cmp dword [esi + 0x24], 0
je 0x47ee85
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
jmp 0x47ed8c
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Data_offset_exceeds_limit
mov dword [esp + 8], 0xbe4
mov dword [esp + 4], str.T:_Bin_prep_mhd_src_libmicrohttpd_0.9.58_src_microhttpd_connection.c
mov dword [esp], eax
call dword [0x5769c4]
mov dword [esi + 0x24], ebx
jmp 0x47ee4d
mov dword [esi + 0x24], edx
jmp 0x47ee2d
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
jmp 0x47ee20