Function at 0x4931a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
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 - 0x20], eax
cmp dword [0x53d578], ebx
jne 0x49323d
mov eax, dword [0x536cb4]
cmp eax, ebx
je 0x49323d
cmp dword [eax + 0x2c], ebx
jle 0x49323d
push 0x536798
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x536cb4]
mov esi, dword [ecx + 0x20]
mov edx, dword [esi + 0x14]
push 0x53d57c
add edx, esi
push 0xa0
push esi
mov dword [esi + 0x20], edx
call dword [0x539384]
mov eax, dword [0x53d57c]
add esp, 0xc
cmp eax, ebx
jbe 0x493232
cmp dword [0x53d578], ebx
jne 0x493232
push eax
push 0x53d578
call dword [0x5393b0]
mov eax, dword [0x53d578]
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 - 0x38], 0x10
call dword [0x5393b0]
mov eax, dword [ebp - 0x1c]
add esp, 8
lea edx, [ebp - 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x49330c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
push 0x10
push ecx
mov esi, eax
mov dword [ebp - 0x2c], ebx
call dword [0x5393b0]
mov edx, dword [ebp - 0x2c]
push 0xa
push edx
push esi
call fcn.004e45ff
add esp, 0x14
lea eax, [ebp - 0x20]
push 0x104
push eax
mov dword [ebp - 0x20], ebx
call dword [0x5393b0]
mov ecx, dword [ebp - 0x20]
push str.Connection
push str.fnInitReportAlert__s_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x2c]
add esp, 0x14
push str.fnInitReportAlert
mov ecx, str.GetComputerName
call fcn.004a5a90
add esp, 4
lea edx, [ebp - 0x1c]
push 0x10
push edx
call dword [0x5393b8]
lea eax, [ebp - 0x2c]
push 0x10
push eax
call dword [0x5393b8]
lea ecx, [ebp - 0x20]
push 0x104
push ecx
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 edx, [ebp - 0x34]
push 0x104
push edx
mov dword [ebp - 0x34], ebx
call dword [0x5393b0]
mov ebx, dword [ebp - 0x34]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x104
call fcn.004a9de0
lea eax, [ebp - 0x24]
push 0x410
xor esi, esi
push eax
mov dword [ebp - 0x24], esi
call dword [0x5393b0]
mov ebx, dword [ebp - 0x24]
push 0x410
call fcn.004b6310
add esp, 0x14
lea ecx, [ebp - 0x30]
push 0x40
push ecx
mov dword [ebp - 0x30], esi
call dword [0x5393b0]
add esp, 8
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [ebp - 0xc]
movzx edx, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0xa]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
movzx eax, word [ebp - 0x10]
push ecx
movzx ecx, word [ebp - 0x12]
push edx
movzx edx, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x30]
push edx
push eax
push str._04u__02u__02u__02u__02u__02u__03u__u
push ecx
call ebx
lea edx, [ebp - 0x28]
push 0x104
push edx
mov dword [ebp - 0x28], esi
call dword [0x5393b0]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
push eax
push ecx
push str.Connection
push str._s__s__s.alt
push edx
call ebx
mov eax, dword [ebp - 0x28]
add esp, 0x44
push eax
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 str.Connection
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push str.PCName
push edi
call dword [0x539380]
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push str.UserName
push edi
call dword [0x539380]
mov edx, dword [ebp - 0x34]
add esp, 0x40
push edx
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push 0x5214a0
push edi
call dword [0x539380]
mov eax, dword [ebp - 0x24]
push eax
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
push 0x5214a8
push edi
call dword [0x539380]
mov eax, dword [0x53d578]
add esp, 0x30
cmp eax, esi
je 0x4934a4
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 ecx, dword [ebp - 0x20]
push ecx
push edi
call dword [0x539380]
push 0x51c838
push edi
call dword [0x539380]
lea edx, [ebp - 0x28]
push 0x104
push edx
call dword [0x5393b8]
lea eax, [ebp - 0x30]
push 0x40
push eax
call dword [0x5393b8]
lea ecx, [ebp - 0x24]
push 0x410
push ecx
call dword [0x5393b8]
lea edx, [ebp - 0x34]
push 0x104
push edx
call dword [0x5393b8]
add esp, 0x40
lea eax, [ebp - 0x1c]
push 0x10
push eax
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