Function at 0x4610a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
cmp eax, 6
je 0x461255
cmp eax, 1
mov esi, ecx
je 0x461380
cmp eax, 4
jle 0x461170
mov dword [esp + 8], 0x195
mov eax, dword [ebx + 0x60]
lea ecx, [ebp - 0x78]
mov edx, dword [ebx + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call method.xmrig::HttpApiResponse.HttpApiResponse_unsigned_long_long__int_
lea ecx, [ebp - 0x78]
sub esp, 0xc
call method.xmrig::HttpApiResponse.end__
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46113b
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x461133
mov edx, dword [eax + 8]
cmp edx, 1
jbe 0x4612cd
sub edx, 1
mov dword [eax + 8], edx
mov dword [esp], ebx
call sym.operator_delete_void_
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x6c]
mov dword [esp], eax
call sym.__ZNSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_S6_ESt10_Select1stIS8_ESt4lessIS6_ESaIS8_EE8_M
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp], ebx
mov ecx, esi
call method.xmrig::Httpd.auth_xmrig::HttpData_const__const
sub esp, 4
cmp eax, 0xc8
jne 0x4612e0
cmp dword [ebx + 4], 1
mov ecx, dword [esi + 8]
je 0x4615c5
call method.xmrig::Base.config___const
cmp byte [eax + 0xd], 0
je 0x4615e0
mov dword [esp + 8], 0x193
mov eax, dword [ebx + 0x60]
lea ecx, [ebp - 0x78]
mov edx, dword [ebx + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call method.xmrig::HttpApiResponse.HttpApiResponse_unsigned_long_long__int_
lea ecx, [ebp - 0x78]
sub esp, 0xc
call method.xmrig::HttpApiResponse.end__
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46113b
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x461133
mov edx, dword [eax + 8]
cmp edx, 1
ja 0x46112d
jmp 0x46121d
mov dword [eax], ecx
mov dword [esp], edx
call sym._free
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x461210
lea esi, [esi]
lea edi, [edi]
cmp byte [eax + 0xc], 0
mov dword [edx + 4], 0
mov esi, dword [eax + 4]
je 0x461248
mov dword [esp], eax
call sym._free
mov dword [esp], esi
call sym.operator_delete_void_
jmp 0x461133
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
lea ecx, [ebp - 0x78]
mov dword [esp], eax
mov dword [esp + 4], edx
call method.xmrig::HttpApiResponse.HttpApiResponse_unsigned_long_long_
lea ecx, [ebp - 0x78]
sub esp, 8
call method.xmrig::HttpApiResponse.end__
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46113b
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x461133
mov edx, dword [eax + 8]
cmp edx, 1
ja 0x46112d
jmp 0x46136d
mov dword [eax], ecx
mov dword [esp], edx
call sym._free
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x4612c0
jmp 0x461230
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x60]
lea ecx, [ebp - 0x78]
mov edx, dword [ebx + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call method.xmrig::HttpApiResponse.HttpApiResponse_unsigned_long_long__int_
lea ecx, [ebp - 0x78]
sub esp, 0xc
call method.xmrig::HttpApiResponse.end__
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46113b
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x461133
mov edx, dword [eax + 8]
cmp edx, 1
ja 0x46112d
jmp 0x461351
mov dword [eax], ecx
mov dword [esp], edx
call sym._free
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x461344
jmp 0x461230
mov dword [eax], ecx
mov dword [esp], edx
call sym._free
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x461360
jmp 0x461230
lea ecx, [ebx + 0x40]
mov dword [esp], str._favicon.ico
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.compare_char_const__const
sub esp, 4
test eax, eax
je 0x4613a0
mov eax, dword [ebx + 4]
jmp 0x4610c6
mov ecx, dword [0x933844]
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
test ecx, ecx
je 0x461810
lea ecx, [ebp - 0xa0]
mov dword [esp], eax
mov dword [esp + 8], 0xc8
mov dword [esp + 4], edx
call method.xmrig::HttpResponse.HttpResponse_unsigned_long_long__int_
lea eax, [ebp - 0xb0]
mov esi, dword [0x9338f0]
mov ebx, dword [0x9338f4]
sub esp, 0xc
mov dword [ebp - 0xb0], 0x67616d69
mov dword [ebp - 0xac], 0x2d782f65
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xa8], 0x6e6f6369
mov dword [ebp - 0xb4], 0xc
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x78], eax
mov eax, esi
add eax, ebx
je 0x461434
test esi, esi
jne 0x461434
mov dword [esp], 0x7ffb7c
call method.std.__throw_logic_error_char_const_
cmp ebx, 0xf
mov dword [ebp - 0xc8], ebx
ja 0x461710
cmp ebx, 1
jne 0x4619d0
movzx eax, byte [esi]
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], ebx
mov byte [eax + ebx], 0
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xb4]
mov dword [ebp - 0x60], eax
mov eax, esi
add eax, ebx
setne dl
test esi, esi
sete al
test dl, al
jne 0x461bf3
cmp ebx, 0xf
mov dword [ebp - 0xc4], ebx
ja 0x461971
cmp ebx, 1
jne 0x4619c0
movzx eax, byte [esi]
mov byte [ebp - 0x58], al
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], ebx
mov byte [eax + ebx], 0
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x4619e0
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0xd4], eax
jmp 0x4614df
mov eax, dword [ebx + 0xc]
xor ecx, ecx
test eax, eax
je 0x461760
mov ebx, eax
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
cmp edi, esi
mov eax, esi
cmovbe eax, edi
test eax, eax
mov dword [ebp - 0xcc], eax
je 0x46151c
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp + 4], edx
mov dword [ebp - 0xd0], edx
mov dword [esp], eax
call sym._memcmp
test eax, eax
mov edx, dword [ebp - 0xd0]
jne 0x461520
mov eax, edi
sub eax, esi
test eax, eax
jns 0x4614d0
mov eax, dword [ebx + 8]
mov ecx, 1
jmp 0x4614d5
mov ecx, ebx
cmp dword [ebp - 0xd4], ecx
mov ebx, dword [ebp + 8]
je 0x461ae0
mov edi, dword [ecx + 0x14]
cmp edx, edi
mov eax, edi
cmovbe eax, edx
test eax, eax
je 0x461583
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], ecx
mov dword [esp + 4], eax
mov eax, dword [0x9338d8]
mov dword [esp], eax
call sym._memcmp
test eax, eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd0]
jne 0x461587
mov eax, edx
sub eax, edi
test eax, eax
js 0x461ae0
mov eax, dword [ecx + 0x2c]
cmp eax, dword [0x93390c]
jne 0x461680
test eax, eax
je 0x4615c2
mov dword [esp + 8], eax
mov eax, dword [0x933908]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x28]
mov dword [esp], eax
call sym._memcmp
test eax, eax
jne 0x461680
mov ecx, dword [esi + 8]
call method.xmrig::Base.api___const
mov dword [esp], ebx
mov ecx, eax
call method.xmrig::Api.request_xmrig::HttpData_const_
sub esp, 4
jmp 0x461162
lea edi, [ebx + 0x14]
lea ecx, [ebx + 0x10]
mov dword [esp], 0x9338d8
mov dword [ebp - 0xd4], edi
call sym.__ZNKSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_S6_ESt10_Select1stIS8_ESt4lessIS6_ESaIS8_EE4f
sub esp, 4
cmp edi, eax
je 0x461680
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x461ae0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + 8], ebx
mov edx, dword [0x9338dc]
mov ebx, ecx
jmp 0x46162e
mov ebx, edi
mov edi, dword [edi + 8]
test edi, edi
je 0x461530
mov eax, dword [edi + 0x14]
cmp eax, edx
mov dword [ebp - 0xcc], eax
cmova eax, edx
test eax, eax
je 0x461668
mov dword [esp + 8], eax
mov eax, dword [0x9338d8]
mov dword [ebp - 0xd0], edx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._memcmp
test eax, eax
mov edx, dword [ebp - 0xd0]
jne 0x461670
mov eax, dword [ebp - 0xcc]
sub eax, edx
test eax, eax
jns 0x461621
mov edi, dword [edi + 0xc]
jmp 0x461626
mov dword [esp + 8], 0x19f
mov eax, dword [ebx + 0x60]
lea ecx, [ebp - 0x78]
mov edx, dword [ebx + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call method.xmrig::HttpApiResponse.HttpApiResponse_unsigned_long_long__int_
lea ecx, [ebp - 0x78]
sub esp, 0xc
call method.xmrig::HttpApiResponse.end__
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46113b
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x461133
mov edx, dword [eax + 8]
cmp edx, 1
ja 0x46112d
jmp 0x4616fd
mov dword [eax], ecx
mov dword [esp], edx
call sym._free
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x4616f0
jmp 0x461230
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0x78]
mov dword [esp + 4], 0
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_create_unsigned_int__unsigned_int_
mov edx, dword [ebp - 0xc8]
sub esp, 8
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov ebx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x78]
jmp 0x461455
test cl, cl
mov eax, dword [ebp - 0xcc]
jne 0x461850
test eax, eax
je 0x46178c
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._memcmp
test eax, eax
jne 0x461790
mov eax, esi
sub eax, edi
test eax, eax
js 0x461872
mov eax, dword [ebp - 0x60]
lea edi, [ebp - 0x58]
cmp eax, edi
je 0x4617aa
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0x78]
lea edi, [ebp - 0x70]
cmp eax, edi
je 0x4617bc
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0xb8]
lea edi, [ebp - 0xb0]
cmp eax, edi
je 0x4617d4
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [0x933840]
lea ecx, [ebp - 0xa0]
mov dword [esp + 4], eax
mov eax, dword [0x933844]
mov dword [esp], eax
call method.xmrig::HttpResponse.end_char_const__unsigned_int_
mov eax, dword [ebp - 0x8c]
sub esp, 8
lea ecx, [ebp - 0x94]
mov dword [esp], eax
call sym.__ZNSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_S6_ESt10_Select1stIS8_ESt4lessIS6_ESaIS8_EE8_M
sub esp, 4
jmp 0x461162
lea ecx, [ebp - 0x78]
mov dword [esp + 8], 0x194
mov dword [esp], eax
mov dword [esp + 4], edx
call method.xmrig::HttpResponse.HttpResponse_unsigned_long_long__int_
lea ecx, [ebp - 0x78]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp], 0
call method.xmrig::HttpResponse.end_char_const__unsigned_int_
sub esp, 8
jmp 0x461151
cmp dword [ebp - 0x88], ebx
je 0x46187a
mov dword [esp], ebx
call method.std._Rb_tree_decrement_std::_Rb_tree_node_base_
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, edi
cmp esi, edi
cmovbe eax, esi
jmp 0x46176e
test ebx, ebx
je 0x461798
lea eax, [ebp - 0x90]
mov byte [ebp - 0xd0], 1
cmp ebx, eax
mov dword [ebp - 0xcc], eax
jne 0x461a0b
mov dword [esp], 0x40
call sym.operator_new_unsigned_int_
mov esi, eax
lea eax, [eax + 0x18]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0xd4], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x78]
mov edx, eax
mov dword [ebp - 0xd8], eax
add edx, edi
je 0x4618c9
test eax, eax
je 0x461bd2
cmp edi, 0xf
mov dword [ebp - 0xc0], edi
ja 0x461a94
cmp edi, 1
jne 0x461b00
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
mov byte [esi + 0x18], al
mov eax, dword [ebp - 0xd4]
mov dword [esi + 0x14], edi
mov byte [eax + edi], 0
lea eax, [esi + 0x30]
mov edi, dword [ebp - 0x60]
mov dword [esi + 0x28], eax
mov ecx, edi
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0x5c]
mov edx, ecx
add edx, edi
je 0x46191c
test ecx, ecx
je 0x461b77
cmp edi, 0xf
mov dword [ebp - 0xbc], edi
ja 0x461a48
cmp edi, 1
jne 0x461aec
mov edx, dword [ebp - 0xd8]
movzx edx, byte [edx]
mov byte [esi + 0x30], dl
mov dword [esi + 0x2c], edi
mov byte [eax + edi], 0
mov eax, dword [ebp - 0xcc]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
movzx eax, byte [ebp - 0xd0]
mov dword [esp], eax
call method.std._Rb_tree_insert_and_rebalance_bool__std::_Rb_tree_node_base__std::_Rb_tree_node_base__std::_Rb_tree_node_base_
add dword [ebp - 0x80], 1
jmp 0x461798
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0x60]
mov dword [esp + 4], 0
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_create_unsigned_int__unsigned_int_
mov edx, dword [ebp - 0xc4]
sub esp, 8
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov ebx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x60]
jmp 0x4614a3
test ebx, ebx
lea eax, [ebp - 0x58]
je 0x4614a3
jmp 0x461999
test ebx, ebx
lea eax, [ebp - 0x70]
je 0x461455
jmp 0x461738
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x88], eax
mov dword [ebp - 0xcc], eax
mov ebx, eax
je 0x461b10
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0xd4], eax
jmp 0x461858
mov esi, dword [ebx + 0x14]
cmp edi, esi
mov eax, esi
cmovbe eax, edi
test eax, eax
je 0x461a36
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp], eax
call sym._memcmp
test eax, eax
jne 0x461a3a
mov eax, edi
sub eax, esi
shr eax, 0x1f
mov dword [ebp - 0xd0], eax
jmp 0x461895
lea eax, [ebp - 0xbc]
lea ecx, [esi + 0x28]
mov dword [esp + 4], 0
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_create_unsigned_int__unsigned_int_
mov edx, dword [ebp - 0xbc]
sub esp, 8
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], edx
mov dword [esp + 8], edi
mov edi, dword [ebp - 0xd8]
mov dword [esp], eax
mov dword [esp + 4], edi
call sym._memcpy
mov edi, dword [ebp - 0xbc]
mov eax, dword [esi + 0x28]
jmp 0x461940
lea eax, [ebp - 0xc0]
lea ecx, [esi + 0x10]
mov dword [esp + 4], 0
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_create_unsigned_int__unsigned_int_
mov edx, dword [ebp - 0xc0]
sub esp, 8
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], edx
mov dword [esp + 8], edi
mov edi, dword [ebp - 0xd8]
mov dword [esp], eax
mov dword [esp + 4], edi
call sym._memcpy
mov edi, dword [ebp - 0xc0]
mov eax, dword [esi + 0x10]
jmp 0x4618f3
mov dword [esp], 0x7ffb5d
call method.std.__throw_out_of_range_char_const_
test edi, edi
je 0x461940
jmp 0x461a70
test edi, edi
mov eax, dword [ebp - 0xd4]
je 0x4618f3
jmp 0x461abc
mov byte [ebp - 0xd0], 1
jmp 0x461895
mov dword [esp], 0x7ffb7c
call method.std.__throw_logic_error_char_const_
mov ebx, eax
mov eax, dword [esi + 0x10]
cmp dword [ebp - 0xd4], eax
je 0x461b98
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, ebx
mov dword [esp], eax
call sym.___cxa_begin_catch
mov dword [esp], esi
call sym.operator_delete_void_
call sym.___cxa_rethrow
lea ecx, [ebp - 0x50]
mov ebx, eax
call method.rapidjson::GenericDocument_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator___rapidjson::CrtAllocator_.GenericDocument__
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x6c]
mov dword [esp], eax
call sym.__ZNSt8_Rb_treeIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_S6_ESt10_Select1stIS8_ESt4lessIS6_ESaIS8_EE8_M
push eax
mov dword [esp], ebx
call sym.__Unwind_Resume
jmp 0x461baf
mov dword [esp], 0x7ffb7c
call method.std.__throw_logic_error_char_const_
jmp 0x461baf
mov dword [esp], 0x7ffb7c
call method.std.__throw_logic_error_char_const_
jmp 0x461baf