Function at 0x420300
Capabilities:
Get hostname
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x6167c8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
xor ebx, ebx
mov dword [esp + 0xb0], ebx
push eax
mov ecx, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
call fcn.00404eb0
mov dword [esp + 0xb0], ebx
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
mov dword [esp + 0x1c], 1
mov esi, 0x80
jl 0x4203c6
push str._uname_
push eax
call fcn.005a75c4
add esp, 8
cmp eax, ebx
je 0x4203c6
sub eax, dword [ebp]
cmp eax, 0xffffffff
jle 0x4203c6
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.advapi32.dll_GetUserNameA]
test eax, eax
jne 0x4203b6
mov byte [esp + 0x24], bl
lea edx, [esp + 0x24]
push edx
push str._uname_
push ebp
call fcn.0041c5b0
mov eax, dword [ebp]
cmp dword [eax - 0xc], ebx
jl 0x420414
push str._compname_
push eax
call fcn.005a75c4
add esp, 8
cmp eax, ebx
je 0x420414
sub eax, dword [ebp]
cmp eax, 0xffffffff
jle 0x420414
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.kernel32.dll_GetComputerNameA]
test eax, eax
jne 0x420404
mov byte [esp + 0x24], bl
lea edx, [esp + 0x24]
push edx
push str._compname_
push ebp
call fcn.0041c5b0
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jl 0x42045c
push str._date_
push eax
call fcn.005a75c4
add esp, 8
cmp eax, ebx
je 0x42045c
sub eax, dword [ebp]
cmp eax, 0xffffffff
jle 0x42045c
push esi
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push ebx
push 0x400
call dword [sym.imp.kernel32.dll_GetDateFormatA]
lea ecx, [esp + 0x24]
push ecx
push str._date_
push ebp
call fcn.0041c5b0
mov eax, dword [ebp]
cmp dword [eax - 0xc], ebx
jl 0x4204a2
push str._time_
push eax
call fcn.005a75c4
add esp, 8
cmp eax, ebx
je 0x4204a2
sub eax, dword [ebp]
cmp eax, 0xffffffff
jle 0x4204a2
push esi
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
push 0x400
call dword [sym.imp.kernel32.dll_GetTimeFormatA]
lea eax, [esp + 0x24]
push eax
push str._time_
push ebp
call fcn.0041c5b0
mov eax, dword [ebp]
cmp dword [eax - 0xc], ebx
mov esi, dword [0x6bd1e0]
jl 0x420525
push str._file_
push eax
call fcn.005a75c4
add esp, 8
cmp eax, ebx
je 0x420525
sub eax, dword [ebp]
cmp eax, 0xffffffff
jle 0x420525
xor edi, edi
call fcn.00426bc0
test eax, eax
je 0x420525
lea ecx, [esp + 0x14]
push ecx
call fcn.00426bc0
push eax
call fcn.0041de30
mov dword [esp + 0xb0], 1
mov eax, dword [eax]
push eax
push str._file_
push ebp
call fcn.0041c5b0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], ebx
jl 0x4205d4
push str._path_
push eax
call fcn.005a75c4
add esp, 8
cmp eax, ebx
je 0x4205d4
sub eax, dword [ebp]
cmp eax, 0xffffffff
jle 0x4205d4
xor edi, edi
call fcn.00426bc0
test eax, eax
je 0x4205d4
call fcn.00426bc0
mov eax, dword [eax + 0x24]
sub eax, 0x10
push eax
call fcn.00401de0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
cmp dword [esp + 0xc0], ebx
mov dword [esp + 0xb0], 2
je 0x4205a5
push 0x64773c
push 0x645b40
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041c5b0
mov esi, dword [esp + 0x14]
push esi
push str._path_
push ebp
call fcn.0041c5b0
lea eax, [esi - 0x10]
mov byte [esp + 0xb0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4205d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005a58d9
add esp, 0xa0
ret