Function at 0x140073ba0
Capabilities:
Extract resource via kernel32 functions
Get hostname

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xba0]
sub rsp, 0xca0
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0xb90], rax
mov rax, qword [rcx]
mov r8b, 0xa
mov r14, rdx
mov rsi, rcx
call qword [rax + 0x28]
mov rdi, rax
test rax, rax
je 0x140073fda
mov r9d, 0x400
mov qword [rsp + 0xcd0], rbx
lea r8, [rbp - 0x80]
mov rcx, rax
lea rdx, str.GET__s
call fcn.14001afa0
mov rcx, rdi
mov ebx, eax
call fcn.140131300
lea eax, [rbx + 1]
cmp eax, 1
jbe 0x140073fd2
lea r9, [rbp - 0x80]
mov edx, 1
lea r8, str.vncHTTPConnectThread::DoHTTP_:_file__s_requested_n
lea rcx, vtable.VNCLog.0
call fcn.140017a50
lea rdx, [rsp + 0x50]
mov rcx, r14
mov edi, 1
call fcn.140088110
test eax, eax
je 0x140073fd2
xor ebx, ebx
movzx eax, byte [rsp + 0x50]
cmp al, 0xa
jne 0x140073c67
test edi, edi
jne 0x140073c82
mov edi, 1
jmp 0x140073c6c
cmp al, 0x20
cmovge edi, ebx
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140088110
test eax, eax
jne 0x140073c53
jmp 0x140073fd2
lea r8, str.vncHTTPConnectThread::DoHTTP_:_parameters_read_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
cmp byte [rbp - 0x80], 0x2f
je 0x140073cba
lea r8, str.vncHTTPConnectThread::DoHTTP_:_filename_didnt_begin_with___n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
jmp 0x140073ee2
cmp byte [rbp - 0x7f], bl
jne 0x140073e42
lea r8, str.vncHTTPConnectThread::DoHTTP_:_sending_main_page_n
mov edx, 1
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r8d, setsockopt
lea rdx, str.HTTP_1.0_200_OK_n_n
mov rcx, r14
call fcn.1400878f0
cmp eax, 0x11
jne 0x140073fd2
mov rcx, qword [rsi + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0x1a0]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x140073df9
mov rcx, qword [rsi + 0xb0]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x5c]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
lea rdx, [rsp + 0x54]
mov dword [rsp + 0x54], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rsp + 0x68]
test eax, eax
je 0x140073da0
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x140073d60
test rax, rax
je 0x140073db1
nop dword [rax]
movsx ecx, byte [rsp + rbx + 0x68]
call fcn.140149734
mov byte [rsp + rbx + 0x68], al
lea rcx, [rsp + 0x68]
inc rbx
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140073d90
cmp rbx, rax
jb 0x140073d70
jmp 0x140073db1
lea r8, [0x1401c9afc]
mov edx, reloc.WS2_32.dll_recv
call fcn.140139ff0
mov rax, qword [0x1401fdf60]
lea r8, [rsp + 0x68]
mov r9d, dword [rsp + 0x5c]
lea rdx, str._HTML__n___HEAD__TITLE____.256s____TITLE___HEAD__n___BODY__n___SPAN_styleposition:_absolute__top:0px_left:0px__n_OBJECT__n____IDVncViewer_n____classid__clsid:8AD9C840_044E_11D1_B3E9_00805F499D93_n____codebase__http:__java.sun.com_update_1.4.2_jinstall_1_4_windows_i586.cabVersion1_4_0_0_n____WIDTH___d_HEIGHT___d___n_____PARAM_NAME__CODE_VALUE__VncViewer.class___n_____PARAM_NAME__ARCHIVE_VALUE__VncViewer.jar___n_____PARAM_NAME__type_VALUE__application_x_java_applet_version1.4__n_____PARAM_NAME__scriptable_VALUE__false__n_____PARAM_NAME__PORT_VALUE_d__n_____PARAM_NAME__ENCODING_VALUETight__n_____PARAM_NAME__Open_New_Window_VALUEYes__n_____COMMENT__n_t_EMBED__n____________type__application_x_java_applet_version1.4__n____________CODE__VncViewer.class__n____________ARCHIVE__VncViewer.jar__n____________WIDTH___d__n____________HEIGHT___d__n____________PORT__d__n____________ENCODING_Tight__n_t____scriptable__false__n_t____pluginspage_http:__java.sun.com_products_plugin_index.htmldownload__n_t_____NOEMBED__n______________NOEMBED__n_t__EMBED__n______COMMENT__n__OBJECT__n____SPAN__n____BODY__n__HTML__n
mov ecx, dword [rax + 0x72c]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], ecx
add eax, 0x20
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x380]
mov dword [rsp + 0x20], eax
call fcn.140074550
jmp 0x140073e0c
lea rdx, str._HTML__n___HEAD__TITLE_UltraVNC_desktop__TITLE___HEAD__n___BODY__n_____H1_Connections_Disabled__H1__n____The_requested_desktop_is_not_configured_to_accept_incoming_connections._n____BODY__n__HTML__n
lea rcx, [rbp + 0x380]
call fcn.140074550
lea rax, [rbp + 0x380]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140073e13
mov r8d, edi
lea rdx, [rbp + 0x380]
mov rcx, r14
call fcn.1400878f0
cmp eax, edi
jne 0x140073fd2
lea r8, str.vncHTTPConnectThread::DoHTTP_:_sent_page_n
jmp 0x140073fc1
mov rax, qword [0x1401fdf60]
cmp dword [rax + 0x7a4], ebx
je 0x140073e94
lea rdi, str._VncViewer.jar
mov r9, rdi
lea r10, [0x140196d58]
mov r8, qword [r9]
lea rax, [rbp - 0x80]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140073e83
inc rax
test ecx, ecx
jne 0x140073e70
test edx, edx
je 0x140073efc
inc ebx
add r9, 0x18
cmp r9, r10
jl 0x140073e62
jmp 0x140073ee2
lea rdi, str._VncViewer.jar
mov r9, rdi
lea r10, str._HTML__n___HEAD__TITLE____.256s____TITLE___HEAD__n___BODY__n___SPAN_styleposition:_absolute__top:0px_left:0px__n_OBJECT__n____IDVncViewer_n____classid__clsid:8AD9C840_044E_11D1_B3E9_00805F499D93_n____codebase__http:__java.sun.com_update_1.4.2_jinstall_1_4_windows_i586.cabVersion1_4_0_0_n____WIDTH___d_HEIGHT___d___n_____PARAM_NAME__CODE_VALUE__VncViewer.class___n_____PARAM_NAME__ARCHIVE_VALUE__VncViewer.jar___n_____PARAM_NAME__type_VALUE__application_x_java_applet_version1.4__n_____PARAM_NAME__scriptable_VALUE__false__n_____PARAM_NAME__PORT_VALUE_d__n_____PARAM_NAME__ENCODING_VALUETight__n_____PARAM_NAME__Open_New_Window_VALUEYes__n_____COMMENT__n_t_EMBED__n____________type__application_x_java_applet_version1.4__n____________CODE__VncViewer.class__n____________ARCHIVE__VncViewer.jar__n____________WIDTH___d__n____________HEIGHT___d__n____________PORT__d__n____________ENCODING_Tight__n_t____scriptable__false__n_t____pluginspage_http:__java.sun.com_products_plugin_index.htmldownload__n_t_____NOEMBED__n______________NOEMBED__n_t__EMBED__n______COMMENT__n__OBJECT__n____SPAN__n____BODY__n__HTML__n
nop word [rax + rax]
mov r8, qword [r9]
lea rax, [rbp - 0x80]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140073ed3
inc rax
test ecx, ecx
jne 0x140073ec0
test edx, edx
je 0x140073efc
inc ebx
add r9, 0x18
cmp r9, r10
jl 0x140073eb0
mov r8d, 0xa8
lea rdx, str.HTTP_1.0_404_Not_Found_n_n_HTML__n___HEAD__TITLE_404_Not_Found__TITLE___HEAD__n___BODY__n_____H1_Not_Found__H1__n____The_requested_file_could_not_be_found._n____BODY__n__HTML__n
mov rcx, r14
call fcn.1400878f0
jmp 0x140073fd2
lea r8, str.vncHTTPConnectThread::DoHTTP_:_requested_file_recognised_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
movsxd rax, ebx
lea rcx, [rax + rax*2]
movzx edx, word [rdi + rcx*8 + 0x10]
mov r8, qword [rdi + rcx*8 + 8]
mov rcx, qword [0x1401fb638]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x140073fd2
mov rcx, qword [0x1401fb638]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x1401fb638]
mov rdx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140073fd2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140073fd2
lea r8, str.vncHTTPConnectThread::DoHTTP_:_sending_file..._n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r8d, setsockopt
lea rdx, str.HTTP_1.0_200_OK_n_n
mov rcx, r14
call fcn.1400878f0
cmp eax, 0x11
jne 0x140073fd2
mov r8d, edi
mov rdx, rbx
mov rcx, r14
call fcn.1400878f0
cmp eax, edi
jne 0x140073fd2
lea r8, str.vncHTTPConnectThread::DoHTTP_:_file_successfully_sent_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov rbx, qword [rsp + 0xcd0]
mov rcx, qword [rbp + 0xb90]
xor rcx, rsp
call fcn.1401312e0
mov rsi, qword [rsp + 0xcd8]
add rsp, 0xca0
pop r14
pop rdi
pop rbp
ret