Function at 0x496a50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x708e32
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0
push 0xf
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.00448490
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0046f4f0
xor edx, edx
mov ecx, 4
test al, al
cmovne ecx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x496b73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x496b03
push 0
push 0x14b
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdhstdhostdomain.cpp
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.00465440
add esp, 0x10
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x38]
call fcn.00448490
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0046f4f0
xor ecx, ecx
test al, al
mov eax, 4
cmovne eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x496b4e
push eax
push 0x14d
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdhstdhostdomain.cpp
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.00465440
add esp, 0x10
mov ecx, dword [ebp - 0x38]
xor eax, eax
test ecx, ecx
je 0x496dba
nop dword [eax + eax]
xor edx, edx
cmp dx, word [edi + eax*2]
je 0x496b73
inc eax
cmp eax, ecx
jae 0x496dba
jmp 0x496b60
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496b80
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x3c]
push edi
call fcn.00449180
test edi, edi
je 0x496bb3
mov eax, dword [ebp - 0x38]
cmp dword [edi + eax*2], 0x68983221
je 0x496baa
int3
push edi
call fcn.006d6340
add esp, 4
mov edi, dword [ebp - 0x30]
test esi, esi
jne 0x496bc2
test edi, edi
je 0x496c50
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x30]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00496870
test edi, edi
je 0x496bf1
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
test esi, esi
je 0x496c0f
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x496c0f
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00449180
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x496c50
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x496c46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496dda
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov edi, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 4], 2
mov ecx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp dword [edi + 0x14], 8
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 1
jb 0x496c7f
mov ecx, dword [edi]
push dword [sym.imp.USER32.dll_CharUpperBuffW]
lea edx, [ebp - 0x28]
push dword [edi + 0x10]
call fcn.00486ce0
lea eax, [ebp - 0x28]
add esp, 8
cmp edi, eax
je 0x496cbf
mov ecx, edi
call fcn.00449120
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov edx, 7
mov word [ebp - 0x28], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
jmp 0x496cc2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x496d00
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x496cf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496ddf
push edx
push ecx
call fcn.006d0b31
add esp, 8
test esi, esi
je 0x496d9f
mov dword [ebp - 4], 3
xor eax, eax
cmp dword [esi + 0x14], 8
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 2
jb 0x496d34
mov ecx, dword [esi]
push dword [sym.imp.USER32.dll_CharUpperBuffW]
lea edx, [ebp - 0x28]
push dword [esi + 0x10]
call fcn.00486ce0
lea eax, [ebp - 0x28]
add esp, 8
cmp esi, eax
je 0x496d69
mov ecx, esi
call fcn.00449120
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
jmp 0x496d9f
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x496d9f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x496d95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496de4
push edx
push ecx
call fcn.006d0b31
add esp, 8
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.006d0856
mov esp, ebp
pop ebp
ret
push str.oComputerName.IfZeroTerminated__
push 0
push 0x14e
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdhstdhostdomain.cpp
push 0x4ae
push str.KLSTD
call fcn.00477ab0
call fcn.006d79b8
call fcn.006d79b8
call fcn.006d79b8
int3