Function at 0x47fbe0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51674a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x56a8e0]
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 edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x8c], edi
mov dword [edi], vtable.general::lic::manager.0
mov dword [edi + 8], 0
mov byte [edi + 0x14], 0
call fcn.0047fe60
lea esi, [edi + 0x68]
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], esi
push 0x24
mov byte [ebp - 4], 1
mov dword [esi], 0x5285fc
call fcn.00493374
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x47fc72
lea ecx, [ebp - 0x79]
push ecx
lea ecx, [ebp - 0x79]
push ecx
mov ecx, eax
call fcn.0047fa40
jmp 0x47fc74
xor eax, eax
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0047f1f0
mov dword [esi], 0x528608
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x88], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x47fccb
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x80], str.Failed_to_get_the_computer_name
call fcn.00493bbb
push 0x543898
lea eax, [ebp - 0x3c]
push eax
call fcn.00493d65
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x78]
call fcn.00406360
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x84]
lea ecx, [ebp - 0x78]
cmovae ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 4
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x78]
cmovae ecx, dword [ebp - 0x78]
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.0047f4d0
push ebx
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004806f0
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
cmp dword [eax + 0x14], 0x10
jb 0x47fd38
mov eax, dword [eax]
push ecx
push eax
call fcn.004f1f20
add esp, 8
cmp dword [ebp - 0x4c], 0x10
mov dword [edi + 8], eax
jb 0x47fd56
push dword [ebp - 0x60]
call fcn.00493278
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 4
jb 0x47fd7d
push dword [ebp - 0x48]
call fcn.00493278
add esp, 4
cmp dword [edi + 8], 0
jne 0x47fda4
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x80], str.Failed_to_initialize_the_CLP_library
call fcn.00493bbb
push 0x543898
lea eax, [ebp - 0x3c]
push eax
call fcn.00493d65
push 0x527eec
lea ecx, [ebp - 0x48]
call fcn.00406360
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 6
call fcn.00478270
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x47fdcd
mov eax, dword [eax]
push eax
push str.applVersion
push 0xff
push dword [edi + 8]
call fcn.004e5d40
add esp, 0x10
cmp dword [ebp - 0x4c], 0x10
jb 0x47fdf4
push dword [ebp - 0x60]
call fcn.00493278
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jb 0x47fe17
push dword [ebp - 0x48]
call fcn.00493278
add esp, 4
push 1
push 3
push dword [edi + 8]
call fcn.004e6090
add esp, 0xc
cmp dword [ebp - 0x64], 8
jb 0x47fe37
push dword [ebp - 0x78]
call fcn.00493278
add esp, 4
mov eax, edi
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.00493d56
mov esp, ebp
pop ebp
ret 4