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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100423f2
mov eax, dword fs:[0]
push eax
mov eax, 0x6330
call fcn.1002b940
mov eax, dword [0x100582a0]
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
mov dword [ebp - 0x633c], esi
call fcn.10029ae0
xor ebx, ebx
mov dword [esi], vtable.CSystemUtil.0
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x13c], eax
mov dword [esi + 0x138], ebx
mov dword [ebp - 4], ebx
mov word [esi + 0x128], cx
xor edx, edx
mov dword [esi + 0x158], eax
mov dword [esi + 0x154], ebx
mov word [esi + 0x144], dx
mov dword [esi + 0x174], eax
mov dword [esi + 0x170], ebx
mov word [esi + 0x160], cx
mov dword [esi + 0x190], eax
mov dword [esi + 0x18c], ebx
mov word [esi + 0x17c], dx
mov dword [esi + 0x1ac], eax
mov dword [esi + 0x1a8], ebx
mov word [esi + 0x198], cx
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1c4], ebx
mov word [esi + 0x1b4], dx
mov dword [esi + 0x1e4], eax
mov dword [esi + 0x1e0], ebx
mov word [esi + 0x1d0], cx
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x128]
mov byte [ebp - 4], al
call fcn.10001130
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x144]
call fcn.10001130
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x160]
call fcn.10001130
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x17c]
call fcn.10001130
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x198]
call fcn.10001130
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x1b4]
call fcn.10001130
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x1d0]
call fcn.10001130
push 0xffe
lea eax, [ebp - 0x5332]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x5334], dx
call fcn.1002b6b0
push 0xffe
lea edx, [ebp - 0x2326]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x2328], cx
call fcn.1002b6b0
push 0xffe
lea ecx, [ebp - 0x1326]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x1328], ax
call fcn.1002b6b0
push 0xffe
lea eax, [ebp - 0x3326]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x3328], dx
call fcn.1002b6b0
add esp, 0x30
push 0x800
lea ecx, [ebp - 0x5334]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x10028441
push 0x800
lea edx, [ebp - 0x2328]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10028441
lea eax, [ebp - 0x1328]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10028441
lea ecx, [ebp - 0x3328]
push 0x800
push ecx
call fcn.10029990
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10028441
lea eax, [ebp - 0x5334]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10028183
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x5334]
push edx
lea ecx, [esi + 0x128]
call fcn.10001820
lea eax, [ebp - 0x2328]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100281b0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2328]
push eax
lea ecx, [esi + 0x144]
call fcn.10001820
lea eax, [ebp - 0x3328]
lea ecx, [eax + 2]
jmp 0x100281e0
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x100281e0
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x3328]
push ecx
lea ecx, [esi + 0x198]
call fcn.10001820
lea edx, [ebp - 0x1328]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x103
lea edi, [ebp + eax*2 - 0x132a]
lea eax, [ebp - 0x223]
push ebx
push eax
mov byte [ebp - 0x224], bl
call fcn.1002b6b0
push 0x103
lea ecx, [ebp - 0x11f]
push ebx
push ecx
mov byte [ebp - 0x120], bl
call fcn.1002b6b0
add esp, 0x18
lea edx, [ebp - 0x6338]
push edx
push 0x1004b2c2
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1328]
push ecx
push ebx
push ebx
mov dword [ebp - 0x6338], ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [ebp - 0x6338]
push edx
push 0x1004b2c2
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.1002dc6c
add esp, 8
cmp word [edi], 0x5c
jne 0x100282ca
cmp eax, 0xffffffff
je 0x100282ca
xor eax, eax
lea ecx, [ebp - 0x1328]
mov word [edi], ax
push ecx
jmp 0x100282d1
lea edx, [ebp - 0x1328]
push edx
lea ecx, [esi + 0x17c]
call fcn.10001990
push ebx
push ebx
push ebx
push ebx
push 0x800
lea eax, [ebp - 0x6334]
push eax
push 5
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x3328]
push edx
call fcn.1002b72a
lea eax, [ebp - 0x6334]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x4334]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x34
lea eax, [ebp - 0x4334]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x103
lea ecx, [ebp - 0x11f]
push ebx
push ecx
mov edi, eax
mov byte [ebp - 0x120], bl
call fcn.1002b6b0
push 0x103
lea edx, [ebp - 0x223]
push ebx
push edx
mov byte [ebp - 0x224], bl
call fcn.1002b6b0
add esp, 0x18
lea eax, [ebp - 0x6338]
push eax
push 0x1004b2c2
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x1328]
push edx
push ebx
push ebx
mov dword [ebp - 0x6338], ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x6338]
push eax
push 0x1004b2c2
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push 0xffffffffffffffff
lea edx, [ebp + edi*2 - 0x132a]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.1002dc6c
lea ecx, [ebp + edi*2 - 0x4336]
add esp, 8
cmp word [ecx], 0x5c
jne 0x100283ef
cmp eax, 0xffffffff
je 0x100283ef
xor edx, edx
lea eax, [ebp - 0x4334]
mov word [ecx], dx
push eax
jmp 0x100283f6
lea ecx, [ebp - 0x4334]
push ecx
lea ecx, [esi + 0x1b4]
call fcn.10001990
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 5
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x2328]
push eax
call fcn.1002b72a
lea eax, [ebp - 0x1c]
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10028422
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [esi + 0x160]
call fcn.10001820
push 0x206
lea eax, [ebp - 0x326]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x328], dx
call fcn.1002b6b0
add esp, 0xc
lea ecx, [ebp - 0x6338]
push ecx
lea edx, [ebp - 0x328]
push edx
mov dword [ebp - 0x6338], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x100284b2
lea eax, [ebp - 0x328]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10028490
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [esi + 0x1d0]
call fcn.10001820
mov eax, esi
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.1002b571
mov esp, ebp
pop ebp
ret