Function at 0x59da40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff99b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x70f200]
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 esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
movq qword [ebp - 0x70], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x60], xmm0
call fcn.005dc5e0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0x624284
push str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.005dc200
push 0
push 0x20019
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d6a80
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.005d6a00
test eax, eax
je 0x59dccc
push ecx
lea ecx, [ebp - 0x20]
call fcn.005dc0b0
push eax
lea ecx, [ebp - 0x70]
call fcn.005dc510
push str..bak
lea ecx, [ebp - 0x70]
call fcn.005dc480
test al, al
jne 0x59dccc
lea ecx, [ebp - 0x20]
call fcn.005dc3a0
sub eax, 4
lea ecx, [ebp - 0x20]
push eax
push 1
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005d9d20
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x80
push eax
push 1
push 0
push 0x80
lea ecx, [ebp - 0x60]
call fcn.005db9a0
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub esp, 0xc
lea ecx, [ebp - 0x60]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x62e788
call fcn.005da510
lea ecx, [ebp - 0x38]
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.005d3780
test al, al
je 0x59dd24
lea eax, [ebp - 0x2c]
push eax
push str.ProfileImagePath
lea ecx, [ebp - 0x14]
call fcn.005d6740
lea eax, [ebp - 0x44]
push eax
push str.ProfileImagePath
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d65d0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x59dcb9
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc4a0
test al, al
jne 0x59dcb9
push 0
push 1
push 1
push 0
push 0x62e798
lea ecx, [ebp - 0x2c]
call fcn.005daa70
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.005dc3a0
sub eax, 4
cmp esi, eax
je 0x59dcb9
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x60]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005daa70
test eax, eax
jne 0x59dcb9
lea ecx, [ebp - 0x44]
call fcn.005dc190
mov ecx, eax
call fcn.005e53c0
lea ecx, [ebp - 0x2c]
mov edi, eax
mov esi, edx
call fcn.005dc190
mov ecx, eax
call fcn.005e53c0
cmp edx, esi
ja 0x59dd24
jb 0x59dcb9
cmp eax, edi
jae 0x59dd24
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d55d0
xor bl, bl
lea ecx, [ebp - 0x14]
call fcn.005d69e0
lea ecx, [ebp - 0x60]
call fcn.005dc430
lea ecx, [ebp - 0x44]
call fcn.005dc430
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x70]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov al, bl
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.0041e1b5
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.005dc190
mov edx, esi
mov ecx, eax
call fcn.005d3c40
test eax, eax
je 0x59dccc
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d55d0
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 4
push str.RefCount
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d5be0
test al, al
je 0x59dda7
push 0
lea eax, [ebp - 0x48]
push eax
push 4
push str.State
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d5be0
test al, al
je 0x59dda7
mov bl, 1
jmp 0x59dda9
xor bl, bl
lea eax, [ebp - 0x44]
push eax
push str.ProfileImagePath
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d65d0
sub esp, 8
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x54], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.NTUSER.DAT
call fcn.005dc190
push eax
lea ecx, [ebp - 0x54]
call fcn.005dc520
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.005dc190
mov edx, 1
mov ecx, eax
call fcn.005d7570
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.AppDataLocalMicrosoftWindowsUsrClass.dat
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x54]
call fcn.005dc200
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.005dc190
mov edx, 1
mov ecx, eax
call fcn.005d7570
lea ecx, [ebp - 0x54]
call fcn.005dc430
jmp 0x59dcce