Function at 0x464b40
Capabilities:
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x461a88
push 0x454a40
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x51481c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x550], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], 0x81059ef7
mov dword [ebp - 0x28], 0xaf31914f
mov dword [ebp - 0x24], 0xdc8fa0cf
mov dword [ebp - 0x20], 0x38476953
mov dword [ebp - 0x3c], 0xb6bdc8f3
mov dword [ebp - 0x38], 0x8f47dfb9
mov dword [ebp - 0x34], 0xcef27a22
mov dword [ebp - 0x30], 0xa1a5c861
mov byte [ebp - 0x4c], bl
xor eax, eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x554], 0x10
lea ecx, [ebp - 0x554]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x11
lea eax, [ebp - 0x60]
push eax
call fcn.00456b10
mov dword [ebp - 0x54c], ebx
mov dword [ebp - 0x548], ebx
push 0x50
push ebx
lea ecx, [ebp - 0x544]
push ecx
call fcn.00454bd0
lea edx, [ebp - 0x54c]
push edx
call fcn.00440300
push 0x11
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54c]
push ecx
call int.004403e0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x54c]
push eax
call fcn.00440b00
add esp, 0x2c
mov eax, 0x10
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x4c]
cmp eax, 4
jb 0x464caa
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x464c76
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x464c60
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x464ca2
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x464ca2
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x464ca2
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x464cac
xor eax, eax
mov ecx, 0x10
lea edx, [ebp - 0x2c]
lea esi, [ebp - 0x4c]
cmp ecx, 4
jb 0x464d01
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x464ccd
sub ecx, 4
add edx, 4
add esi, 4
jmp 0x464cb7
movzx edi, byte [edx]
movzx ecx, byte [esi]
sub ecx, edi
jne 0x464cf9
movzx ecx, byte [esi + 1]
movzx edi, byte [edx + 1]
sub ecx, edi
jne 0x464cf9
movzx ecx, byte [esi + 2]
movzx edi, byte [edx + 2]
sub ecx, edi
jne 0x464cf9
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jmp 0x464d03
xor ecx, ecx
and eax, ecx
je 0x464e91
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 1
push 6
push 0x401a70
mov esi, dword [ebp - 0x550]
push esi
call fcn.0045690a
add esp, 0xc
test eax, eax
je 0x464e5d
call fcn.00449480
xor eax, eax
mov word [ebp - reloc.msvcrt.dll_sprintf], ax
push 0x206
push ebx
lea ecx, [ebp - 0x2ea]
push ecx
call fcn.00454bd0
add esp, 0xc
lea edx, [ebp - 0x2ec]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x464e71
lea eax, [ebp - 0x2ec]
push eax
push ebx
push ebx
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x464e71
xor edx, edx
mov word [ebp - reloc.msvcrt.dll_sprintf], dx
push 0x206
push ebx
lea eax, [ebp - 0x4f2]
push eax
call fcn.00454bd0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4f4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x464e71
push reloc.msvcrt.dll_fclose
push 0x5157c8
call fcn.004314d0
add esp, 8
test eax, eax
je 0x464e71
mov byte [ebp - 0xe4], bl
push 0x80
push ebx
lea edx, [ebp - 0xe3]
push edx
call fcn.00454bd0
mov dword [ebp - 0x550], 0x81
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0xe4]
push ecx
push reloc.msvcrt.dll_fclose
push 0x5157c8
call fcn.0044b2c0
add esp, 0x1c
test eax, eax
je 0x464e71
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x4f4]
push eax
call fcn.00463f10
add esp, 8
test eax, eax
je 0x464e71
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x4f4]
push edx
lea eax, [ebp - 0x2ec]
push eax
call fcn.0042d180
add esp, 0xc
mov dword [ebp - 4], ebx
jmp 0x464e91
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.00464790
add esp, 4
mov dword [ebp - 4], ebx
jmp 0x464e91
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004546bb
mov esp, ebp
pop ebp
ret 0x10