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

Disassembly:
push 0xffffffffffffffff
push 0x100521e2
mov eax, dword fs:[0]
push eax
mov eax, 0x6330
call fcn.10037930
mov eax, dword [0x1006b2c8]
xor eax, esp
mov dword [esp + 0x632c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0x6344]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
call fcn.10036290
xor ebx, ebx
lea edi, [esi + 0x128]
mov dword [esi], vtable.CSystemUtil.0
mov eax, 7
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov dword [esp + 0x634c], ebx
mov word [edi + 4], bx
lea ebp, [esi + 0x144]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
mov dword [esi + 0x178], eax
mov dword [esi + 0x174], ebx
mov word [esi + 0x164], bx
mov dword [esi + 0x194], eax
mov dword [esi + 0x190], ebx
mov word [esi + 0x180], bx
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1ac], ebx
mov word [esi + 0x19c], bx
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1c8], ebx
mov word [esi + 0x1b8], bx
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1e4], ebx
mov word [esi + 0x1d4], bx
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov byte [esp + 0x6354], al
call fcn.10001210
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.10001210
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x160]
call fcn.10001210
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x17c]
call fcn.10001210
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x198]
call fcn.10001210
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x1b4]
call fcn.10001210
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x1d0]
call fcn.10001210
push 0xffe
lea eax, [esp + 0x4346]
push ebx
push eax
mov word [esp + 0x434c], bx
call fcn.100376a0
push 0xffe
lea ecx, [esp + 0x1346]
push ebx
push ecx
mov word [esp + 0x134c], bx
call fcn.100376a0
mov word [esp + 0x34c], bx
push 0xffe
lea edx, [esp + 0x352]
push ebx
push edx
call fcn.100376a0
push 0xffe
lea eax, [esp + 0x336a]
push ebx
push eax
mov word [esp + 0x3370], bx
call fcn.100376a0
add esp, 0x30
push 0x800
lea ecx, [esp + 0x4344]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x10034c80
push 0x800
lea edx, [esp + 0x1338]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10034c80
lea eax, [esp + 0x334]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10034c80
lea ecx, [esp + 0x3340]
push 0x800
push ecx
call fcn.10036110
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10034c80
lea edx, [esp + 0x4340]
push edx
mov ecx, edi
call fcn.10001930
lea eax, [esp + 0x1334]
push eax
mov ecx, ebp
call fcn.10001930
lea ecx, [esp + 0x3340]
push ecx
lea ecx, [esi + 0x198]
call fcn.10001930
lea edx, [esp + 0x334]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push 0x103
lea eax, [esp + 0x131]
push ebx
push eax
sub edi, 1
mov byte [esp + 0x138], bl
call fcn.100376a0
push 0x103
lea ecx, [esp + 0x39]
push ebx
push ecx
mov byte [esp + 0x40], bl
call fcn.100376a0
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x18
lea edx, [esp + 0x14]
push edx
push 0x1005dbb2
push 0x104
lea eax, [esp + 0x138]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x348]
push ecx
push ebx
push ebx
mov dword [esp + 0x34], ebx
call ebp
lea edx, [esp + 0x14]
push edx
push 0x1005dbb2
push 0x104
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
lea edi, [esp + edi*2 + 0x348]
push edi
push ebx
push ebx
call ebp
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x130]
push edx
call fcn.1003a1f2
add esp, 8
cmp word [edi], 0x5c
jne 0x10034b22
cmp eax, 0xffffffff
je 0x10034b22
lea eax, [esp + 0x334]
mov word [edi], bx
push eax
jmp 0x10034b2a
lea ecx, [esp + 0x334]
push ecx
lea ecx, [esi + 0x17c]
call fcn.10001930
push ebx
push ebx
push ebx
push ebx
push 0x800
lea edx, [esp + 0x5354]
push edx
push 5
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x3360]
push ecx
call fcn.1003771a
lea edx, [esp + 0x5364]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2360]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x34
lea edx, [esp + 0x2334]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push 0x103
lea eax, [esp + 0x2d]
push ebx
push eax
sub edi, 1
mov byte [esp + 0x34], bl
call fcn.100376a0
push 0x103
lea ecx, [esp + 0x13d]
push ebx
push ecx
mov byte [esp + 0x144], bl
call fcn.100376a0
add esp, 0x18
lea edx, [esp + 0x14]
push edx
push 0x1005dbb2
push 0x104
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x348]
push ecx
push ebx
push ebx
mov dword [esp + 0x34], ebx
call ebp
lea edx, [esp + 0x14]
push edx
push 0x1005dbb2
push 0x104
lea eax, [esp + 0x138]
push eax
push 0xffffffffffffffff
lea ecx, [esp + edi*2 + 0x348]
push ecx
push ebx
push ebx
call ebp
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1003a1f2
lea ecx, [esp + edi*2 + 0x233c]
add esp, 8
cmp word [ecx], 0x5c
jne 0x10034c40
cmp eax, 0xffffffff
je 0x10034c40
mov word [ecx], bx
lea ecx, [esp + 0x2334]
push ecx
jmp 0x10034c48
lea edx, [esp + 0x2334]
push edx
lea ecx, [esi + 0x1b4]
call fcn.10001930
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 5
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1354]
push ecx
call fcn.1003771a
add esp, 0x24
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x160]
call fcn.10001930
push 0x206
lea eax, [esp + 0x132]
push ebx
push eax
mov word [esp + 0x138], bx
call fcn.100376a0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x130]
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10034cea
lea eax, [esp + 0x12c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10034cc7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x130]
push eax
lea ecx, [esi + 0x1d0]
call fcn.100017e0
mov eax, esi
mov ecx, dword [esp + 0x6344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x632c]
xor ecx, esp
call fcn.1003754f
add esp, 0x633c
ret