Function at 0x460800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
mov eax, dword [ebp + 8]
lea ecx, [eax + 0xc]
mov eax, dword [ebp + 0xc]
add eax, 0xc
mov dword [esp], eax
call method.xmrig::Http.isEqual_xmrig::Http_const__const
sub esp, 4
test al, al
je 0x460830
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x460846
mov ecx, esi
call method.xmrig::TcpServer.TcpServer__
mov dword [esp], esi
call sym.operator_delete_void_
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x460852
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 8]
xor edx, edx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov word [ebx + 0x18], dx
call method.xmrig::Base.config___const
cmp byte [eax + 0xc], 0
mov esi, eax
je 0x460826
mov dword [esp], 0x10
call sym.operator_new_unsigned_int_
mov edi, eax
lea eax, [ebx + 0xc]
mov ecx, edi
mov dword [esp], eax
call method.xmrig::HttpsServer.HttpsServer_std::shared_ptr_xmrig::IHttpListener__const_
mov ecx, dword [ebx + 8]
sub esp, 4
mov dword [ebx + 0x1c], edi
call method.xmrig::Base.config___const
add eax, 0x78
mov ecx, edi
mov dword [esp], eax
call method.xmrig::HttpsServer.setTls_xmrig::TlsConfig_const_
mov byte [ebp - 0x19], al
movzx eax, word [esi + 0x20]
sub esp, 4
mov dword [esp], 0x98
mov dword [ebp - 0x20], eax
call sym.operator_new_unsigned_int_
mov edi, eax
mov eax, dword [ebx + 0x1c]
mov ecx, edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
lea eax, [esi + 0x10]
mov dword [esp], eax
call method.xmrig::TcpServer.TcpServer_xmrig::String_const__unsigned_short__xmrig::ITcpServerListener_
sub esp, 0xc
mov dword [ebx + 0x14], edi
mov ecx, edi
call method.xmrig::TcpServer.bind__
test eax, eax
mov edi, eax
js 0x4609d1
cmp byte [ebp - 0x19], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], 0x7ffb18
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
je 0x4609b0
mov dword [esp + 8], 0x20
mov dword [esp + 4], str.HTTP_API
mov dword [esp], str.e_1_32m__e_0me_1_37m__13se_0me_1__dm_s:_d_e_1_31m_se_0m
call method.xmrig::Log.print_char_const__..._
mov word [ebx + 0x18], di
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
mov ebx, eax
je 0x460826
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
test eax, eax
je 0x460826
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
sub esp, 4
mov dword [0x933844], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
sub esp, 8
mov dword [0x933840], eax
jmp 0x460826
mov dword [esp + 8], 0x24
mov dword [esp + 4], str.HTTP_API
mov dword [esp], str.e_1_32m__e_0me_1_37m__13se_0me_1__dm_s:_d_e_1_31m_se_0m
call method.xmrig::Log.print_char_const__..._
jmp 0x460932
mov dword [esp], eax
call dbg.uv_strerror
cmp byte [ebp - 0x19], 0
movzx ecx, word [esi + 0x20]
mov edx, dword [esi + 0x10]
je 0x460a50
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x20
mov dword [esp + 4], str.HTTP_API
mov dword [esp], str.e_1_32m__e_0me_1_37m__13se_0me_1__dm_s:_d_e_1_31m_se_0m
call method.xmrig::Log.print_char_const__..._
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x460a24
mov ecx, esi
call method.xmrig::TcpServer.TcpServer__
mov dword [esp], esi
call sym.operator_delete_void_
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x460a30
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov word [ebx + 0x18], ax
jmp 0x460826
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x24
mov dword [esp + 4], str.HTTP_API
mov dword [esp], str.e_1_32m__e_0me_1_37m__13se_0me_1__dm_s:_d_e_1_31m_se_0m
call method.xmrig::Log.print_char_const__..._
jmp 0x460a0e