Function at 0x43a7d6
Capabilities:
Get hostname

Disassembly:
sub esp, 0xc3c
mov eax, dword [0x4ba700]
xor eax, esp
mov dword [esp + 0xc38], eax
push ebp
push esi
mov esi, dword [esp + 0xc48]
push edi
push 0x400
mov ebp, ecx
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push 0xa
push esi
call edx
mov edi, eax
test edi, edi
je 0x43a771
push ebx
lea eax, [esp + 0x38]
push eax
push str.GET__s
push edi
call fcn.0047e20c
push edi
mov ebx, eax
call fcn.0047d0a1
add esp, 0x10
test ebx, ebx
je 0x43a770
cmp ebx, 0xffffffff
je 0x43a770
lea ecx, [esp + 0x38]
push ecx
push str.._vnchttpconnect.cpp_:_file__s_requested_n
mov ecx, 1
mov eax, 0x4bc990
call fcn.00401110
add esp, 8
push esi
lea eax, [esp + 0x17]
mov edi, 1
call fcn.00453de0
test eax, eax
je 0x43a770
mov al, byte [esp + 0x13]
cmp al, 0xa
jne 0x43a719
test edi, edi
jne 0x43a72f
mov edi, 1
jmp 0x43a71f
cmp al, 0x20
jl 0x43a71f
xor edi, edi
push esi
lea eax, [esp + 0x17]
call fcn.00453de0
test eax, eax
jne 0x43a706
jmp 0x43a770
push str.._vnchttpconnect.cpp_:_parameters_read_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
cmp byte [esp + 0x38], 0x2f
je 0x43a78b
push str.._vnchttpconnect.cpp_:_filename_didnt_begin_with___n
xor ecx, ecx
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
push 0xa8
push 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
call fcn.00453810
pop ebx
mov ecx, dword [esp + 0xc44]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0047c3ff
add esp, 0xc3c
ret 4
mov edx, 0x4af394
lea ecx, [esp + 0x38]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x43a7b4
test al, al
je 0x43a7b0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x43a7b4
add ecx, 2
add edx, 2
test al, al
jne 0x43a794
xor eax, eax
jmp 0x43a7b9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43a93b
lea ecx, [eax + 1]
push str.._vnchttpconnect.cpp_:_sending_main_page_n
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
push 0x11
push str.HTTP_1.0_200_OK_n_n
call fcn.00453810
cmp eax, 0x11
jne 0x43a770
mov ecx, dword [ebp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x154]
call eax
test eax, eax
je 0x43a8f1
mov ecx, dword [ebp + 0x64]
mov edx, dword [ecx]
mov edx, dword [edx + 0x180]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x24], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x43a87f
lea eax, [esp + 0x28]
xor edi, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a840
sub eax, edx
je 0x43a89e
jmp 0x43a850
movsx edx, byte [esp + edi + 0x28]
push edx
call fcn.0047e4d6
mov byte [esp + edi + 0x2c], al
lea eax, [esp + 0x2c]
add esp, 4
inc edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a870
sub eax, edx
cmp edi, eax
jb 0x43a850
jmp 0x43a89e
mov eax, dword [0x4ab7e8]
mov cx, word [0x4ab7ec]
mov dl, byte [0x4ab7ee]
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
mov byte [esp + 0x2e], dl
mov ecx, dword [ebp + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x108]
mov edi, ecx
call edx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x20
push eax
mov eax, dword [edx + 0x108]
push ecx
mov ecx, edi
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
add ecx, 0x20
push ecx
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x454]
push 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
push ecx
call fcn.0047c59e
add esp, 0x24
jmp 0x43a906
lea edx, [esp + 0x438]
push str._HTML__n___HEAD__TITLE_Ultr_VNC_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
push edx
call fcn.0047c59e
add esp, 8
lea eax, [esp + 0x438]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a910
sub eax, edx
mov edi, eax
push edi
lea eax, [esp + 0x43c]
push eax
call fcn.00453810
cmp eax, edi
jne 0x43a770
push str.._vnchttpconnect.cpp_:_sent_page_n
jmp 0x43aa3e
xor ebx, ebx
mov edi, 0x4a8c38
mov ecx, dword [edi]
lea eax, [esp + 0x38]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43a968
test dl, dl
je 0x43a964
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43a968
add eax, 2
add ecx, 2
test dl, dl
jne 0x43a948
xor eax, eax
jmp 0x43a96d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43a982
add edi, 0xc
inc ebx
cmp edi, 0x4a8ce0
jl 0x43a942
jmp 0x43a761
push str.._vnchttpconnect.cpp_:_requested_file_recognised_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
lea eax, [ebx + ebx*2]
add eax, eax
mov ecx, dword [eax + eax + 0x4a8c3c]
movzx edx, word [eax + eax + 0x4a8c40]
add eax, eax
mov eax, dword [0x4f21d8]
add esp, 4
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x43a770
mov ecx, dword [0x4f21d8]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [0x4f21d8]
push edi
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43a770
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x43a770
push str.._vnchttpconnect.cpp_:_sending_file..._n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
push 0x11
push str.HTTP_1.0_200_OK_n_n
call fcn.00453810
cmp eax, 0x11
jne 0x43a770
push ebx
push edi
call fcn.00453810
cmp eax, ebx
jne 0x43a770
push str.._vnchttpconnect.cpp_:_file_successfully_sent_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
jmp 0x43a770