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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x45fbf8
push 0x452bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x5143e4]
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.00454c80
mov dword [ebp - 0x54c], ebx
mov dword [ebp - 0x548], ebx
push 0x50
push ebx
lea ecx, [ebp - 0x544]
push ecx
call fcn.00452d40
lea edx, [ebp - 0x54c]
push edx
call fcn.0043f200
push 0x11
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54c]
push ecx
call fcn.0043f270
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x54c]
push eax
call fcn.0043fa90
add esp, 0x2c
mov eax, 0x10
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x4c]
cmp eax, 4
jb 0x462caa
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x462c76
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x462c60
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x462ca2
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x462ca2
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x462ca2
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x462cac
xor eax, eax
mov ecx, 0x10
lea edx, [ebp - 0x2c]
lea esi, [ebp - 0x4c]
cmp ecx, 4
jb 0x462d01
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x462ccd
sub ecx, 4
add edx, 4
add esi, 4
jmp 0x462cb7
movzx edi, byte [edx]
movzx ecx, byte [esi]
sub ecx, edi
jne 0x462cf9
movzx ecx, byte [esi + 1]
movzx edi, byte [edx + 1]
sub ecx, edi
jne 0x462cf9
movzx ecx, byte [esi + 2]
movzx edi, byte [edx + 2]
sub ecx, edi
jne 0x462cf9
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jmp 0x462d03
xor ecx, ecx
and eax, ecx
je 0x462e91
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.00454a7a
add esp, 0xc
test eax, eax
je 0x462e5d
call fcn.00447e40
xor eax, eax
mov word [ebp - 0x2ec], ax
push 0x206
push ebx
lea ecx, [ebp - 0x2ea]
push ecx
call fcn.00452d40
add esp, 0xc
lea edx, [ebp - 0x2ec]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x462e71
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 0x462e71
xor edx, edx
mov word [ebp - 0x4f4], dx
push 0x206
push ebx
lea eax, [ebp - 0x4f2]
push eax
call fcn.00452d40
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4f4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x462e71
push 0x40
push 0x515388
call fcn.0042ffd0
add esp, 8
test eax, eax
je 0x462e71
mov byte [ebp - 0xe4], bl
push 0x80
push ebx
lea edx, [ebp - 0xe3]
push edx
call fcn.00452d40
mov dword [ebp - 0x550], 0x81
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0xe4]
push ecx
push 0x40
push 0x515388
call fcn.00449cc0
add esp, 0x1c
test eax, eax
je 0x462e71
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x4f4]
push eax
call fcn.00461f10
add esp, 8
test eax, eax
je 0x462e71
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x4f4]
push edx
lea eax, [ebp - 0x2ec]
push eax
call fcn.0042c2a0
add esp, 0xc
mov dword [ebp - 4], ebx
jmp 0x462e91
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.00462790
add esp, 4
mov dword [ebp - 4], ebx
jmp 0x462e91
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.00452822
mov esp, ebp
pop ebp
ret 0x10