Function at 0x42648b
Capabilities:
Get hostname

Disassembly:
mov eax, 0x45ff24
call fcn.0045d320
sub esp, 0x84
push ebx
mov ebx, ecx
push esi
push edi
movsx eax, word [ebx + 0x10]
mov dword [ebp - 0x10], esp
push eax
mov edi, str.C:projectsAmmyy_sources_target_trClient.cpp
push str.TrClient2::run__1_id_d
push edi
mov esi, 0x47a230
push 2
push esi
mov dword [ebp - 0x1c], ebx
call fcn.0040e807
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], eax
push 0x7530
mov eax, dword [ecx]
call dword [eax + 0xc]
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.00426259
test al, al
je 0x4268fc
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.00428836
test al, al
je 0x4268fc
mov ecx, dword [ebx + 0x1c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.authenticated_connection
push edi
push 2
push esi
call fcn.0040e807
mov ecx, dword [0x47aaf0]
add esp, 0x10
mov eax, dword [ecx]
push 4
call dword [eax + 0x2c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x426566
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetComputerName___error_d
push edi
push 1
push esi
call fcn.0040e807
add esp, 0x14
and byte [ebp - 0x64], 0
cmp byte [ebx + 0x2a8], 0
je 0x426584
push 0x16
lea eax, [ebp - 0x90]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x4265d5
mov ecx, dword [ebx + 0x2ac]
lea eax, [ebp - 0x54]
push eax
call fcn.00429219
mov ecx, dword [ebx + 0x14]
and byte [ebp - 0x90], 0
lea eax, [ebp - 0x44]
push eax
call fcn.00425bbd
mov esi, eax
lea edi, [ebp - 0x8a]
mov eax, dword [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x8e], ax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov edi, str.C:projectsAmmyy_sources_target_trClient.cpp
mov esi, 0x47a230
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x64]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0x7e], eax
mov cl, byte [ebx]
add eax, 0x16
shl cl, 1
add cl, byte [ebx + 8]
push eax
mov byte [ebp - 0x8f], cl
lea ecx, [ebp - 0x78]
call fcn.00411c93
lea eax, [ebp - 0x90]
push 0x16
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 2
call fcn.00411cce
push dword [ebp - 0x7e]
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x78]
push eax
call fcn.00411cce
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], eax
call fcn.00412465
mov ecx, dword [ebx + 0x1c]
push 1
push dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 4]
push 2
pop eax
push str.sent_pixel_format_to_client
push edi
push eax
push esi
mov dword [ebp - 4], eax
call fcn.0040e807
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x78]
call fcn.00411cb9
cmp byte [ebx + 0x2a8], 0
je 0x42667e
mov ecx, ebx
call fcn.004269fd
jmp 0x4268b3
cmp dword [ebx], 0
je 0x426698
push 0x14
mov ecx, ebx
call fcn.00426445
push 0x91
mov ecx, ebx
call fcn.00426445
mov dword [ebp - 4], 5
lea ecx, [ebx + 0x420]
call fcn.0042a57d
lea eax, [ebp - 0x11]
push 1
push eax
mov ecx, ebx
call fcn.004278b0
cmp byte [ebp - 0x11], 0x80
jne 0x426708
lea eax, [ebp - 0x17]
push 2
push eax
mov ecx, ebx
call fcn.004278b0
movzx eax, word [ebp - 0x17]
push eax
push str.get_close_message_with_code_d
push edi
push 2
push esi
call fcn.0040e807
lea esi, [ebx + 0x20]
add esp, 0x14
mov ecx, esi
mov dword [ebp - 0x24], esi
call fcn.0043789c
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 4], 6
mov eax, dword [ecx]
call dword [eax]
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004378a4
jmp 0x4268b3
movzx ecx, byte [ebp - 0x11]
mov eax, 0x84
cmp ecx, eax
jg 0x4267c7
je 0x4267bb
cmp ecx, 6
jg 0x426775
je 0x426769
mov eax, ecx
dec eax
je 0x42675d
dec eax
dec eax
je 0x426751
dec eax
je 0x426745
dec eax
jne 0x42683b
mov ecx, ebx
call fcn.00426dfd
jmp 0x42669f
mov ecx, ebx
call fcn.00426de1
jmp 0x42669f
mov ecx, ebx
call fcn.00426c33
jmp 0x42669f
mov ecx, ebx
call fcn.00426a9d
jmp 0x42669f
mov ecx, ebx
call fcn.00426e73
jmp 0x42669f
mov eax, ecx
sub eax, 7
je 0x4267af
dec eax
je 0x4267a3
sub eax, 0x7a
je 0x426797
dec eax
jne 0x42683b
mov ecx, ebx
call fcn.00427404
jmp 0x42669f
mov ecx, ebx
call fcn.00427089
jmp 0x42669f
mov ecx, ebx
call fcn.00427047
jmp 0x42669f
mov ecx, ebx
call fcn.00426eba
jmp 0x42669f
mov ecx, ebx
call fcn.004275bd
jmp 0x42669f
mov eax, 0x8b
cmp ecx, eax
jg 0x426826
je 0x426814
mov eax, ecx
sub eax, 0x85
je 0x426808
dec eax
je 0x4267fc
dec eax
je 0x4267f0
dec eax
jne 0x42683b
mov ecx, ebx
call fcn.0042786e
jmp 0x42669f
mov ecx, ebx
call fcn.00427839
jmp 0x42669f
mov ecx, ebx
call fcn.00427804
jmp 0x42669f
mov ecx, ebx
call fcn.004276b2
jmp 0x42669f
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x42669f
mov eax, ecx
sub eax, 0xc8
je 0x42669f
dec eax
je 0x426874
sub eax, 9
je 0x42685b
push ecx
lea eax, [ebp - 0x38]
push str.invalid_message_received_:__d
push eax
call fcn.004109c8
add esp, 0xc
lea eax, [ebp - 0x38]
push 0x465b58
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 0x12], 0xd3
push 1
lea edx, [ebp - 0x12]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 4]
jmp 0x42669f
mov ecx, ebx
call fcn.00426969
jmp 0x42669f
movsx eax, word [ebx + 0x10]
or dword [ebp - 4], 0xffffffff
push eax
mov edi, str.C:projectsAmmyy_sources_target_trClient.cpp
push str.TrClient2::Run__end_id_d
push edi
mov esi, 0x47a230
push 2
push esi
call fcn.0040e807
add esp, 0x14
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x4268fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.in_Run____SetThreadDesktop___error_d
push edi
push 0
push esi
call fcn.0040e807
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret