Function at 0x450c90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf754
mov eax, dword fs:[0]
push eax
mov eax, 0x1974
call fcn.004b0320
mov eax, dword [0x554008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1918], eax
mov eax, dword [eax + 4]
push 0x800
mov dword [ebp - 0x1904], eax
lea eax, [ebp - 0x1900]
push 0
push eax
mov dword [ebp - method.HttpRequest.virtual_0], vtable.HttpRequest.0
call fcn.0049c300
push 0x800
lea eax, [ebp - 0x1100]
push 0
push eax
call fcn.0049c300
push 0x804
lea eax, [ebp - 0x900]
push 0
push eax
call fcn.0049c300
add esp, 0x20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1900]
push eax
push ecx
lea ecx, [ebp - 0x1908]
call fcn.004535e0
mov byte [ebp - 0x1909], 1
nop dword [eax]
mov eax, dword [ebp - 0x1904]
xor esi, esi
mov dword [ebp - 0x1910], eax
lea edi, [esi + 1]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x1911]
add eax, esi
push edi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add esi, eax
sub edi, eax
mov eax, dword [ebp - 0x1910]
cmp esi, 1
jb 0x450d51
mov al, byte [ebp - 0x1911]
cmp al, 0xa
jne 0x450e9d
cmp byte [ebp - 0x1909], 0
je 0x450d32
lea eax, [ebp - 0x1900]
push eax
lea ecx, [ebp - 0x1980]
call fcn.0044f070
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov dword [ebp - 0x1928], 0
mov dword [ebp - 0x1924], 0
mov dword [ebp - 0x1920], 0
lea eax, [ebp - 0x1928]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x1924]
mov ecx, dword [ebp - 0x1928]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea eax, [ebp - 0x192c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1980]
call fcn.0044f280
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x450e2a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x100], 0
lea eax, [ebp - 0x1100]
push eax
lea eax, [ebp - 0x1900]
push str.GET__2000s_HTTP_
push eax
call fcn.00453550
add esp, 0xc
cmp eax, 1
jne 0x4515be
lea ecx, [ebp - 0x1100]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450e57
xor eax, eax
sub ecx, edx
mov dword [ebp - 0x1910], ecx
mov byte [ebp - 0x1909], al
je 0x450ec8
lea edx, [ebp - 0x900]
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x1100]
cmp cl, 0x3f
jne 0x450eb1
mov byte [ebp + eax - 0x1100], 0
mov byte [ebp - 0x1909], 1
jmp 0x450ebd
cmp al, 0x20
jl 0x450d40
mov byte [ebp - 0x1909], 0
jmp 0x450d40
cmp byte [ebp - 0x1909], 0
je 0x450ebd
mov byte [edx], cl
inc edx
mov ecx, dword [ebp - 0x1910]
inc eax
cmp eax, ecx
jb 0x450e80
push 0xc
call fcn.0049adb4
add esp, 4
mov dword [ebp - 0x1910], eax
lea ecx, [ebp - 0x900]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.004517f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1924]
mov esi, edx
mov ecx, dword [ebp - 0x1928]
sub esi, ecx
mov dword [ebp - 0x100], eax
xor eax, eax
sar esi, 1
lea edi, [eax + 0x20]
sub esi, 1
je 0x450f2e
cmp word [ecx + eax*2], 0xa
lea edx, [ecx + eax*2]
jne 0x450f23
mov word [edx], di
mov ecx, dword [ebp - 0x1928]
inc eax
cmp eax, esi
jb 0x450f10
mov edx, dword [ebp - 0x1924]
sub edx, ecx
xor eax, eax
sar edx, 1
lea esi, [edx - 1]
test esi, esi
je 0x450f58
nop dword [eax + eax]
cmp word [ecx + eax*2], 9
lea edx, [ecx + eax*2]
jne 0x450f53
mov word [edx], di
mov ecx, dword [ebp - 0x1928]
inc eax
cmp eax, esi
jb 0x450f40
mov esi, dword [ebp - 0x1918]
push dword [esi + 0x10]
push ecx
push 0x534b3c
push dword [esi + 0x1c]
call fcn.00405e90
mov eax, dword [esi + 8]
add esp, 0x10
mov dword [ebp - 0x1910], eax
mov dword [ebp - method.HttpReply.virtual_0], vtable.HttpReply.0
mov dword [ebp - 0x196c], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1100]
mov ecx, 0x534b58
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x450fc0
test dl, dl
je 0x450fbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x450fc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x450fa0
xor eax, eax
jmp 0x450fc5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4514db
mov dword [ebp - method.AnsiStringStorage.virtual_0], vtable.AnsiStringStorage.0
mov dword [ebp - 0x1950], eax
mov dword [ebp - 0x194c], eax
mov dword [ebp - 0x1948], eax
lea eax, [ebp - 0x1950]
mov byte [ebp - 4], 6
push eax
push 2
mov ecx, eax
call fcn.0042a540
mov eax, dword [ebp - 0x194c]
mov ecx, dword [ebp - 0x1950]
sub eax, ecx
push eax
push 0x534b98
push ecx
call fcn.0049dfe0
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, 0x555558
mov eax, dword [vtable.LocalMutex.0]
mov byte [ebp - 0x1909], 1
call dword [eax + 4]
mov edi, dword [0x558f94]
mov byte [ebp - 4], 8
mov ecx, 0x555558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xdc]
mov eax, dword [edi + 0xdc]
call dword [eax + 4]
mov al, byte [edi + 0x5c]
mov byte [ebp - 0x1911], al
mov byte [ebp - 4], 9
lea ecx, [edi + 0xdc]
mov eax, dword [edi + 0xdc]
call dword [eax + 8]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x1910], edx
test edx, edx
je 0x451096
cmp dword [edx + 8], 0
jbe 0x451096
mov al, 1
jmp 0x451098
xor al, al
test al, al
je 0x4512d8
cmp byte [ebp - 0x1911], 0
je 0x4512d8
mov eax, dword [edx + 8]
xor ecx, ecx
mov dword [ebp - 0x191c], ecx
test eax, eax
je 0x4512d8
cmp ecx, eax
jb 0x4510c8
xor esi, esi
jmp 0x451123
mov eax, dword [edx + 4]
mov eax, dword [eax]
test ecx, ecx
je 0x451118
mov edx, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x4510f9
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4510f5
cmp eax, dword [ecx + 8]
jne 0x4510f5
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4510e5
mov eax, ecx
jmp 0x45110d
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x45110d
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x451103
sub edx, 1
jne 0x4510d3
mov edx, dword [ebp - 0x1910]
cmp dword [eax + 0x24], 0x10
lea esi, [eax + 0x10]
jb 0x451123
mov esi, dword [esi]
push esi
mov ecx, edx
call fcn.00451cb0
mov edi, eax
mov dword [ebp - method.AppletParameter.virtual_0], vtable.AppletParameter.0
lea eax, [ebp - 0x1940]
mov dword [ebp - method.AnsiStringStorage.virtual_0], vtable.AnsiStringStorage.0
mov dword [ebp - 0x1968], eax
mov dword [ebp - 0x193c], 0
mov dword [ebp - 0x1938], 0
mov dword [ebp - 0x1934], 0
lea eax, [ebp - 0x193c]
mov byte [ebp - 4], 0xa
push eax
push 1
mov ecx, eax
call fcn.0042a540
mov eax, dword [ebp - 0x1938]
mov ecx, dword [ebp - 0x193c]
sub eax, ecx
push eax
push 0x534a30
push ecx
call fcn.0049dfe0
add esp, 0xc
mov byte [ebp - 4], 0xb
push esi
mov byte [ebp - 0x1930], 0
call fcn.00451780
test al, al
je 0x4511bf
push edi
call fcn.00451780
test al, al
je 0x4511bf
mov al, 1
jmp 0x4511c1
xor al, al
mov byte [ebp - 0x1930], al
test al, al
je 0x451218
mov eax, dword [0x534ca4]
movups xmm0, xmmword [str._PARAM_NAME__s__VALUE__s____n]
mov dword [ebp - 0x18], eax
mov ax, word [0x534ca8]
mov word [ebp - 0x14], ax
mov al, byte [0x534caa]
push edi
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x30]
push esi
push eax
movups xmmword [ebp - 0x30], xmm0
lea eax, [ebp - 0x1940]
movq xmm0, qword [0x534c9c]
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0044f320
mov al, byte [ebp - 0x1930]
add esp, 0x10
mov byte [ebp - 4], 0xc
test al, al
je 0x4512b8
mov eax, dword [ebp - 0x193c]
test eax, eax
je 0x45127f
push eax
lea ecx, [ebp - 0x1964]
call fcn.0044f070
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x194c]
mov eax, dword [ebp - 0x1950]
sub ecx, eax
mov edx, dword [ebp - 0x1960]
dec eax
push dword [ebp - 0x1968]
add ecx, eax
mov eax, dword [ebp - 0x195c]
sub eax, edx
dec eax
add eax, edx
push eax
push edx
push ecx
lea ecx, [ebp - 0x1950]
call fcn.0044f580
lea ecx, [ebp - 0x1964]
call fcn.0044f1c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1940]
mov dword [ebp - method.AppletParameter.virtual_0], vtable.AppletParameter.0
call fcn.0044f1c0
mov edx, dword [ebp - 0x1910]
mov ecx, dword [ebp - 0x191c]
inc ecx
mov dword [ebp - 0x191c], ecx
mov eax, dword [edx + 8]
cmp ecx, eax
jb 0x4510c8
jmp 0x4512d8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1940]
mov byte [ebp - 0x1909], 0
mov dword [ebp - method.AppletParameter.virtual_0], vtable.AppletParameter.0
call fcn.0044f1c0
lea ecx, [ebp - 0x1970]
call fcn.004516d0
cmp byte [ebp - 0x1909], 0
jne 0x451336
mov ecx, dword [ebp - 0x1918]
xor esi, esi
mov edi, 0xb8
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1910], eax
mov ecx, dword [eax + 4]
lea eax, [esi + str._HTML__n___HEAD__TITLE_TightVNC_desktop__TITLE___HEAD__n___BODY__n_____H1_Bad_Parameters__H1__n____The_sequence_of_applet_parameters_specified_within_the_URL_is_invalid._n____BODY__n__HTML__n]
push edi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add esi, eax
sub edi, eax
mov eax, dword [ebp - 0x1910]
cmp esi, 0xb8
jb 0x451302
lea ecx, [ebp - 0x1954]
call fcn.0044f1c0
jmp 0x4515d7
lea ecx, [ebp - 0x1964]
call fcn.0044efe0
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xf
push eax
push 0x10
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4c9764
push ecx
call fcn.0049dfe0
add esp, 0xc
lea eax, [ebp - 0x1910]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1910], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x4513c1
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00403860
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x193c]
call fcn.0044f110
mov byte [ebp - 4], 0x11
mov ecx, 0x555558
mov eax, dword [ebp - 0x1950]
mov dword [ebp - 0x1910], eax
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
mov esi, dword [0x558f94]
mov byte [ebp - 4], 0x12
mov ecx, 0x555558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
lea edi, [esi + 0xdc]
mov byte [ebp - 4], 0x11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x30]
mov byte [ebp - 4], 0x13
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x1964]
push dword [ebp - 0x1910]
push esi
push dword [ebp - 0x1938]
push str._HTML__n___HEAD__TITLE_TightVNC_desktop___.256s___TITLE___HEAD__n___BODY__n_____APPLET_ARCHIVE_tightvnc_jviewer.jar__CODE_com.glavsoft.viewer.Viewer__WIDTH1_HEIGHT1__n_______PARAM_NAME_PORT__VALUE__d___n_______PARAM_NAME_OpenNewWindow__VALUE_YES___n_.1024s______APPLET__BR__n_____A_HREF_http:__www.tightvnc.com___www.TightVNC.com__A__n____BODY__n__HTML__n
push eax
call fcn.0044f320
mov ecx, dword [ebp - 0x1960]
add esp, 0x14
mov eax, dword [ebp - 0x195c]
xor esi, esi
sub eax, ecx
mov dword [ebp - 0x1910], ecx
mov ecx, dword [ebp - 0x1918]
add eax, 0xffffffff
mov dword [ebp - 0x191c], eax
mov edi, eax
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x1918], ecx
je 0x4514a6
nop word [eax + eax]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp - 0x1910]
add eax, esi
push edi
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1918]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0x191c]
jb 0x451480
lea ecx, [ebp - 0x193c]
call fcn.0044f1c0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0x1964]
call fcn.0044f1c0
lea ecx, [ebp - 0x1954]
call fcn.0044f1c0
jmp 0x4515d7
mov ecx, str._tightvnc_jviewer.jar
lea eax, [ebp - 0x1100]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451506
test dl, dl
je 0x451502
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451506
add eax, 2
add ecx, 2
test dl, dl
jne 0x4514e6
xor eax, eax
jmp 0x45150b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x451559
lea ecx, [ebp - 0x1970]
call fcn.004516d0
mov eax, dword [esi + 8]
mov edi, 0x55839
mov dword [ebp - 0x1910], eax
xor esi, esi
nop word [eax + eax]
mov ecx, dword [eax + 4]
lea eax, [esi + 0x4ca868]
push edi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add esi, eax
sub edi, eax
mov eax, dword [ebp - 0x1910]
cmp esi, 0x55839
jb 0x451530
jmp 0x4515d7
mov ecx, 0x2a
lea edi, [ebp - 0xfc]
mov esi, str.HTTP_1.0_404_Not_Found_r_n_r_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
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0xfc]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x451577
xor edi, edi
sub esi, ecx
mov eax, esi
mov dword [ebp - 0x1918], eax
je 0x4515d7
nop dword [eax]
mov ecx, dword [ebp - 0x1910]
push eax
lea eax, [ebp - 0xfc]
add eax, edi
mov ecx, dword [ecx + 4]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
sub dword [ebp - 0x1918], eax
add edi, eax
mov eax, dword [ebp - 0x1918]
cmp edi, esi
jb 0x451590
jmp 0x4515d7
mov ecx, dword [ebp - 0x1918]
push dword [ecx + 0x10]
push 0x534b5c
push dword [ecx + 0x1c]
call fcn.00405e60
add esp, 0xc
lea ecx, [ebp - 0x1928]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.004039c0
mov ecx, dword [ebp - 0x197c]
mov dword [ebp - method.AnsiStringStorage.virtual_0], vtable.AnsiStringStorage.0
test ecx, ecx
je 0x45164a
mov edx, dword [ebp - 0x1974]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x451622
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45167f
push edx
push ecx
call fcn.0049ade4
add esp, 8
mov dword [ebp - 0x197c], 0
mov dword [ebp - 0x1978], 0
mov dword [ebp - 0x1974], 0
mov ecx, dword [ebp - 0x100]
mov dword [ebp - method.HttpRequest.virtual_0], vtable.HttpRequest.0
test ecx, ecx
je 0x451664
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a89b
mov esp, ebp
pop ebp
ret
call fcn.004a1eab
int3