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

Disassembly:
mov eax, 0x2810
call fcn.0041e190
mov al, byte [0x42b458]
test al, al
jne 0x415a32
push 0
push 0x42b458
call fcn.00414ee0
add esp, 8
mov edx, dword [esp + 0x2818]
push ebx
push esi
push edi
test edx, edx
je 0x415c8f
cmp byte [edx], 0
je 0x415c8f
mov esi, dword [sym.imp.MSVCRT.dll__strnicmp]
push 5
push str.Types
push edx
call esi
add esp, 0xc
test eax, eax
je 0x415a81
mov eax, dword [esp + 0x2824]
push 5
inc eax
push str.Types
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x415c88
mov cl, byte [0x42a800]
xor eax, eax
mov byte [esp + 0x14], cl
mov ecx, 0x100
lea edi, [esp + 0x15]
lea edx, [esp + 0x418]
push str.CfgCIMCO.INI
push edx
rep stosd dword es:[edi], eax
call fcn.00415a10
lea eax, [esp + 0x420]
push eax
call fcn.004148e0
add esp, 0xc
test al, al
je 0x415ae7
lea ecx, [esp + 0x418]
lea edx, [esp + 0x14]
push ecx
push 0x401
push edx
push 0x42a800
push str.TYPESDIR
push str.GLOBAL
call fcn.00416d50
add esp, 0x18
mov al, byte [esp + 0x14]
test al, al
je 0x415c88
mov al, byte [0x42a800]
mov ecx, 0x3ff
mov byte [esp + 0x81c], al
xor eax, eax
lea edi, [esp + 0x81d]
lea edx, [esp + 0x81c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
mov esi, 0x1000
push ecx
push edx
stosb byte es:[edi], al
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x81c]
lea ecx, [esp + 0x14]
push eax
push str._USERNAME
push ecx
call fcn.00411ee0
mov dx, word [0x425c40]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x182a]
mov word [esp + 0x1828], dx
add esp, 0xc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x181c]
push eax
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x181c]
lea eax, [esp + 0x14]
push edx
push str._COMPUTERNAME
push eax
call fcn.00411ee0
lea ecx, [esp + 0x20]
push ecx
call fcn.00412330
lea edx, [esp + 0x24]
push edx
call fcn.004148c0
add esp, 0x14
test al, al
jne 0x415bbf
lea eax, [esp + 0x14]
push eax
call fcn.00414930
add esp, 4
lea ecx, [esp + 0x14]
push ecx
call fcn.004148c0
add esp, 4
test al, al
je 0x415c88
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x2820]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x425814
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2824]
mov al, byte [ecx]
cmp al, 0x5c
je 0x415c3a
cmp al, 0x2f
je 0x415c3a
add ecx, 5
jmp 0x415c3d
add ecx, 6
mov dword [esp + 0x2824], ecx
mov al, byte [ecx]
cmp al, 0x5c
je 0x415c4e
cmp al, 0x2f
jne 0x415c56
inc ecx
mov dword [esp + 0x2824], ecx
lea eax, [esp + 0x2828]
mov edi, ebx
push eax
push ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x400
add ecx, ebx
push ecx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x2810
ret
mov edx, dword [esp + 0x2824]
mov edi, 0x42b458
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x2820]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test edx, edx
rep movsb byte es:[edi], byte [esi]
je 0x415d1c
mov al, byte [edx]
test al, al
je 0x415d1c
cmp al, 0x5c
je 0x415cf6
cmp al, 0x2f
je 0x415cf6
mov edi, 0x425814
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2828]
mov edi, ebx
push ecx
or ecx, 0xffffffff
xor eax, eax
push edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x400
add ecx, ebx
push ecx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
push ebx
call fcn.00412330
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x2810
ret