Function at 0x492e00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x38], eax
cmp dword [0x53d570], ebx
jne 0x492e9d
mov eax, dword [0x536cb4]
cmp eax, ebx
je 0x492e9d
cmp dword [eax + 0x2c], ebx
jle 0x492e9d
push 0x536798
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x536cb4]
mov esi, dword [ecx + 0x20]
mov edx, dword [esi + 0x14]
push 0x53d574
add edx, esi
push 0xa0
push esi
mov dword [esi + 0x20], edx
call dword [0x539384]
mov eax, dword [0x53d574]
add esp, 0xc
cmp eax, ebx
jbe 0x492e92
cmp dword [0x53d570], ebx
jne 0x492e92
push eax
push 0x53d570
call dword [0x5393b0]
mov eax, dword [0x53d570]
push eax
push 0xa0
push esi
call dword [0x539388]
add esp, 0x14
push 0x536798
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x1c]
push 0x10
push ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x40], 0x10
call dword [0x5393b0]
mov eax, dword [ebp - 0x1c]
add esp, 8
lea edx, [ebp - 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x492f6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x28]
push 0x10
push ecx
mov esi, eax
mov dword [ebp - 0x28], ebx
call dword [0x5393b0]
mov edx, dword [ebp - 0x28]
push 0xa
push edx
push esi
call fcn.004e45ff
add esp, 0x14
lea eax, [ebp - 0x34]
push 0x104
push eax
mov dword [ebp - 0x34], ebx
call dword [0x5393b0]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
push ecx
push str.fnInitReportAlert__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x28]
add esp, 0x14
push str.fnInitReportAlert
mov ecx, str.GetComputerName
call fcn.004a5a90
add esp, 4
lea eax, [ebp - 0x1c]
push 0x10
push eax
call dword [0x5393b8]
lea ecx, [ebp - 0x28]
push 0x10
push ecx
call dword [0x5393b8]
lea edx, [ebp - 0x34]
push 0x104
push edx
call dword [0x5393b8]
add esp, 0x18
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e3946
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push 0x104
push eax
mov dword [ebp - 0x24], ebx
call dword [0x5393b0]
mov ebx, dword [ebp - 0x24]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x104
call fcn.004a9de0
lea ecx, [ebp - 0x2c]
push 0x410
xor esi, esi
push ecx
mov dword [ebp - 0x2c], esi
call dword [0x5393b0]
mov ebx, dword [ebp - 0x2c]
push 0x410
call fcn.004b6310
add esp, 0x14
lea edx, [ebp - 0x20]
push 0x40
push edx
mov dword [ebp - 0x20], esi
call dword [0x5393b0]
add esp, 8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [ebp - 0xa]
movzx edx, word [ebp - 0xc]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
movzx eax, word [ebp - 0xe]
push ecx
movzx ecx, word [ebp - 0x10]
push edx
movzx edx, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x16]
push ecx
movzx ecx, word [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x20]
push eax
push ecx
push str._04u__02u__02u__02u__02u__02u__03u__u
push edx
call esi
lea eax, [ebp - 0x30]
push 0x104
push eax
mov dword [ebp - 0x30], 0
call dword [0x5393b0]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
push ecx
push edx
push ebx
push str._s__s__s.alt
push eax
call esi
mov ecx, dword [ebp - 0x30]
add esp, 0x44
push ecx
push 0x28
push edi
call dword [0x53937c]
add esp, 0xc
push 0x30
push edi
call dword [0x5393ac]
push str.Identify
push edi
call dword [0x539380]
push ebx
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push str.PCName
push edi
call dword [0x539380]
mov edx, dword [ebp - 0x1c]
push edx
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push str.UserName
push edi
call dword [0x539380]
mov eax, dword [ebp - 0x24]
add esp, 0x40
push eax
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push 0x5214a0
push edi
call dword [0x539380]
mov ecx, dword [ebp - 0x2c]
push ecx
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push 0x5214a8
push edi
call dword [0x539380]
mov eax, dword [0x53d570]
add esp, 0x30
test eax, eax
je 0x493102
push eax
push edi
call dword [0x539380]
add esp, 8
push 0x51c838
push edi
call dword [0x539380]
push str.Datetime
push edi
call dword [0x539380]
mov edx, dword [ebp - 0x20]
push edx
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
lea eax, [ebp - 0x30]
push 0x104
push eax
call dword [0x5393b8]
lea ecx, [ebp - 0x20]
push 0x40
push ecx
call dword [0x5393b8]
lea edx, [ebp - 0x2c]
push 0x410
push edx
call dword [0x5393b8]
lea eax, [ebp - 0x24]
push 0x104
push eax
call dword [0x5393b8]
add esp, 0x40
lea ecx, [ebp - 0x1c]
push 0x10
push ecx
call dword [0x5393b8]
mov ecx, dword [ebp - 8]
add esp, 8
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret