Function at 0x4acc70
Capabilities:
Get hostname
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56062b
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0xa44]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xa58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa5c], eax
mov eax, dword [ebp + 0x28]
push 0x400
mov dword [ebp - 0xa50], eax
call fcn.0047f1f0
mov dword [ebp - 4], 0
mov ecx, ebx
push esi
call fcn.004a8130
test eax, eax
je 0x4acd10
push 1
mov ecx, eax
call fcn.004a7ae0
mov dword [ebp - 0xa38], eax
jmp 0x4acd1a
mov dword [ebp - 0xa38], 0x574c4c
xor eax, eax
mov dword [ebp - 0xa54], 0x10
mov word [ebp - 0x30], ax
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4acd53
push 0x58a66c
lea eax, [ebp - 0x30]
push 0x10
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 1
push 0x800
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov esi, 0x100
lea ecx, [ebp - 0x230]
push 0x587600
mov edx, esi
call fcn.0052fae0
lea eax, [ebp - 0x230]
push 0
push eax
call dword [sym.imp.MSVCR120.dll_wcschr]
mov ecx, eax
lea edx, [ebp - 0x230]
sub ecx, edx
add esp, 0xc
sar ecx, 1
sub esi, ecx
cmp esi, 1
jbe 0x4acdbf
push esi
push eax
push 0
push 0
push 8
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
cmp byte [ebx + 0x223e], 0
mov esi, dword [ebp - 0xa44]
jne 0x4acddb
cmp byte [ebx + 0x225a], 0
je 0x4acfd7
cmp dword [ebp - 0xa34], 0
je 0x4ace4e
add ebx, 0x2a63
mov esi, ebx
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4acdf0
sub esi, ecx
sar esi, 1
cmp esi, 0x400
jae 0x4ace0d
test esi, esi
je 0x4ace23
jmp 0x4ace12
mov esi, 0x3ff
push esi
push ebx
push 0x400
push edi
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
mov ebx, dword [ebp - 0xa34]
xor eax, eax
mov word [edi + esi*2], ax
mov ecx, ebx
mov eax, dword [ebp - 0xa40]
mov esi, dword [ebp - 0xa44]
sub eax, esi
sar eax, 1
mov edx, esi
push eax
call fcn.00530120
add esp, 4
jmp 0x4acea5
add ebx, 0x2263
mov esi, ebx
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4ace60
sub esi, ecx
sar esi, 1
cmp esi, 0x400
jae 0x4ace7d
test esi, esi
je 0x4ace93
jmp 0x4ace82
mov esi, 0x3ff
push esi
push ebx
push 0x400
push edi
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
mov ebx, dword [ebp - 0xa34]
xor eax, eax
mov word [edi + esi*2], ax
mov esi, dword [ebp - 0xa44]
mov ecx, edi
call fcn.005305f0
lea eax, [ebp - 0x30]
mov edx, 0x400
push eax
push 0x58a698
mov ecx, edi
call fcn.00530340
push dword [ebp - 0xa38]
mov edx, 0x400
mov ecx, edi
push str._PROGRAMNAME_
call fcn.00530340
lea eax, [ebp - 0x230]
mov edx, 0x400
push eax
push str._TIMESTAMP_
mov ecx, edi
call fcn.00530340
mov eax, dword [ebp - 0xa58]
add esp, 0x18
test eax, eax
je 0x4acf12
push eax
push str._INFECTEDOBJECT_
mov edx, 0x400
mov ecx, edi
call fcn.00530340
add esp, 8
mov eax, dword [ebp - 0xa4c]
test eax, eax
je 0x4acf31
push eax
push str._VIRUSNAME_
mov edx, 0x400
mov ecx, edi
call fcn.00530340
add esp, 8
test ebx, ebx
je 0x4acf4a
push esi
push str._ERRORDESCRIPTION_
mov edx, 0x400
mov ecx, edi
call fcn.00530340
add esp, 8
mov eax, dword [ebp - 0xa48]
test eax, eax
je 0x4acf69
push eax
push str._USERNAME_
mov edx, 0x400
mov ecx, edi
call fcn.00530340
add esp, 8
mov eax, dword [ebp - 0xa5c]
test eax, eax
je 0x4acf88
push eax
push str._ACTION_
mov edx, 0x400
mov ecx, edi
call fcn.00530340
add esp, 8
mov eax, dword [ebp - 0xa50]
test eax, eax
je 0x4acfa7
push eax
push str._SCANNER_
mov edx, 0x400
mov ecx, edi
call fcn.00530340
add esp, 8
push 0x400
lea eax, [ebp - 0xa30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, 0x400
ja 0x4acfd7
lea eax, [ebp - 0xa30]
mov edx, 0x400
push eax
mov ecx, edi
call fcn.0052fa00
add esp, 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4ad00a
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret 0x24