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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c724
mov eax, dword fs:[0]
push eax
sub esp, 0xbc4
mov eax, dword [0x5e9db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xbd0]
push eax
lea ecx, [ebp - 0x3e4]
push ecx
mov dword [ebp - 0xbd0], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x43e87e
lea edx, [ebp - 0x3e4]
push edx
lea ecx, [ebp - 0xbc4]
call fcn.00401d50
lea eax, [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0xbbc]
mov dword [ebp - 4], 0
call fcn.00401d50
push eax
lea ecx, [ebp - 0xbc4]
push ecx
lea edx, [ebp - 0xbb8]
push edx
mov byte [ebp - 4], 1
call fcn.0041ba90
add esp, 0xc
push eax
lea ecx, [ebp - 0xbc4]
mov byte [ebp - 4], 2
call fcn.00405080
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xbb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e70f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e735
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xbc4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x43e74f
call fcn.00402290
mov esi, 0xf423f
xor ecx, ecx
cmp word [eax + ecx*2], 0
je 0x43e769
mov dl, byte [eax + ecx*2]
mov byte [ebp + ecx - 0x114], dl
jmp 0x43e773
xor esi, esi
mov byte [ebp + ecx - 0x114], 0
inc ecx
cmp ecx, esi
jb 0x43e756
lea edx, [ebp - 0x114]
call fcn.0043eab0
push eax
lea eax, [ebp - 0x1dc]
push 0x5b4a90
push eax
call fcn.00551c3d
add esp, 0xc
lea ecx, [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0xbc0]
call fcn.0041b810
mov esi, eax
push 0x5afbc8
lea edx, [ebp - 0xbb8]
push edi
push edx
mov byte [ebp - 4], 3
call fcn.0041bb50
push esi
push eax
lea eax, [ebp - 0xbbc]
mov bl, 4
push eax
mov byte [ebp - 4], bl
call fcn.0041ba90
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xbbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e809
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xbb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e82f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e855
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xbc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e87e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xbc8]
push ecx
lea edx, [ebp - 0xbb4]
push edx
mov dword [ebp - 0xbc8], 0x7d0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x43ea8f
lea eax, [ebp - 0xbb4]
push eax
lea ecx, [ebp - 0xbb8]
call fcn.00401d50
lea ecx, [ebp - 0xbb4]
push ecx
lea ecx, [ebp - 0xbbc]
mov dword [ebp - 4], 6
call fcn.00401d50
push eax
lea edx, [ebp - 0xbb8]
push edx
lea eax, [ebp - 0xbc0]
mov bl, 7
push eax
mov byte [ebp - 4], bl
call fcn.0041ba90
add esp, 0xc
push eax
lea ecx, [ebp - 0xbb8]
mov byte [ebp - 4], 8
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xbc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e920
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xbbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e946
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xbb8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x43e960
call fcn.00402290
mov esi, 0xf423f
xor ecx, ecx
cmp word [eax + ecx*2], 0
je 0x43e97a
mov dl, byte [eax + ecx*2]
mov byte [ebp + ecx - 0x114], dl
jmp 0x43e984
xor esi, esi
mov byte [ebp + ecx - 0x114], 0
inc ecx
cmp ecx, esi
jb 0x43e967
lea edx, [ebp - 0x114]
call fcn.0043eab0
push eax
lea eax, [ebp - 0x178]
push 0x5b4a90
push eax
call fcn.00551c3d
add esp, 0xc
lea ecx, [ebp - 0x178]
push ecx
lea ecx, [ebp - 0xbcc]
call fcn.0041b810
mov esi, eax
push 0x5afbc8
lea edx, [ebp - 0xbbc]
push edi
push edx
mov byte [ebp - 4], 9
call fcn.0041bb50
push esi
push eax
lea eax, [ebp - 0xbc0]
mov bl, 0xa
push eax
mov byte [ebp - 4], bl
call fcn.0041ba90
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xbc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ea1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xbbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ea40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xbcc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ea66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xbb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ea8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f72c
mov esp, ebp
pop ebp
ret