Function at 0x10053530
Capabilities:
Get hostname

Disassembly:
sub esp, 0x1e4
push ebx
mov ebx, dword [esp + 0x1ec]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
je 0x100537f8
mov esi, dword [esp + 0x1fc]
cmp esi, ebp
jle 0x100537f8
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.1004e9e0
mov edi, dword [esp + 0x204]
mov dword [edi], eax
cmp word [0x101fe220], bp
je 0x100535fe
lea eax, [esi - 1]
cmp eax, 0x28
jl 0x10053593
mov eax, 0x27
push eax
push 0x101fe220
push ebx
call fcn.10060183
mov eax, dword [0x101fe2c0]
mov ecx, dword [esp + 0x20c]
and eax, 0xffff
add esp, 0xc
mov dword [ecx], eax
mov eax, dword [0x10201328]
cmp eax, ebp
je 0x100537f8
mov eax, dword [0x101fe2c0]
mov edx, dword [edi]
and eax, 0xffff
push edx
push eax
push 0x101fe220
push 0x101fe270
push str.GetUserInfo_Self___s____s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret
cmp word [0x101fe270], bp
jne 0x10053655
mov ecx, 0x14
xor eax, eax
mov edi, 0x101fe270
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
mov ecx, 0x13
lea edi, [esp + 0x16]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
stosw word es:[edi], ax
mov dword [esp + 0x18], 0x28
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x28
push 0x101fe270
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.1005bc80
add esp, 0x10
cmp dword [0x10201328], ebp
je 0x10053680
push 0x101fe220
push 0x101fe270
push str.GetUserInfo_Self___s____s_
push str.UserInfo
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x18
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x12e]
mov word [esp + 0x12c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x66]
mov word [esp + 0x64], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x12c]
push 0x64
push ecx
stosw word es:[edi], ax
call fcn.10050210
add esp, 8
test eax, eax
je 0x100537f8
lea edx, [esp + 0x64]
push 0x64
push edx
lea eax, [esp + 0x134]
push 0xffffffffffffffff
push eax
call fcn.1005bc80
mov eax, dword [0x10201328]
add esp, 0x10
cmp eax, ebp
je 0x10053708
lea ecx, [esp + 0x64]
push ecx
push str.GetUserInfo_Self_1___s_
push str.UserInfo
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x14
lea edx, [esp + 0x64]
push 0x5c
push edx
call fcn.1005fbad
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x1005376f
mov edi, esi
lea eax, [esp + 0x64]
sub edi, eax
push 0x101fe270
sar edi, 1
call fcn.1005f906
add esp, 4
cmp eax, edi
jne 0x1005376f
lea ecx, [esp + 0x64]
push edi
push ecx
push 0x101fe270
call fcn.10060f78
add esp, 0xc
test eax, eax
jne 0x1005376f
add esi, 2
push esi
call fcn.1005f906
lea edi, [eax + eax]
lea edx, [esp + 0x68]
push edi
push esi
push edx
call fcn.100601c0
add esp, 0x10
mov word [esp + edi + 0x64], bp
lea eax, [esp + 0x64]
push 0x27
push eax
push 0x101fe220
call fcn.10060183
mov ecx, dword [esp + 0x208]
dec ecx
push ecx
push 0x101fe220
push ebx
call fcn.10060183
add esp, 0x18
cmp word [0x101fe220], bp
je 0x100537bf
push 0x101c0f44
push 0x101fe220
call fcn.1006108f
add esp, 8
neg eax
sbb eax, eax
neg eax
inc eax
mov word [0x101fe2c0], ax
cmp dword [0x10201328], ebp
je 0x100537f8
mov edx, dword [esp + 0x204]
mov ecx, dword [0x101fe2c0]
and ecx, 0xffff
mov eax, dword [edx]
push eax
push ecx
push ebx
push str.GetUserInfo_Self_1___s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret