Function at 0x404280
Capabilities:
Get common file path
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x3058
call fcn.00408020
nop
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x407da0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x4c2f2c
call ebx
push 0
push 0
push eax
push 0x4c2f2c
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
jmp 0x40430d
push 0x4c2f2c
call ebx
push edi
push esi
push eax
push 0x4c2f2c
push 0
push 0xfde9
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call edi
jmp 0x40433d
mov dword [0x4c352c], esi
push 0x4c312c
call ebx
push 0
push 0
push eax
push 0x4c312c
push 0
push 0xfde9
call edi
mov edi, eax
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
jmp 0x404383
push 0x4c312c
call ebx
push edi
push esi
push eax
push 0x4c312c
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x4043b1
mov dword [0x4c3530], esi
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x140], 0
je 0x404970
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea ecx, [eax + 0x130]
cmp byte [eax + 0x13c], 0
je 0x40440b
movsd xmm0, qword [ecx]
xorps xmm0, xmmword [0x4a42e0]
movlps qword [ecx], xmm0
xor dword [ecx + 8], 0x73351343
mov byte [ecx + 0xc], 0
mov dword [ebp - 0x20], ecx
movups xmm0, xmmword [0x4a412b]
movups xmmword [ebp - 0x1054], xmm0
movups xmm0, xmmword [0x4a411b]
movups xmmword [ebp - 0x1064], xmm0
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x164], 0
je 0x4049c9
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x141]
cmp byte [ecx + 0x161], 0
je 0x40448c
nop
movaps xmm0, xmmword [0x4a42f0]
movups xmm1, xmmword [eax]
movups xmm2, xmmword [eax + 0x10]
xorps xmm1, xmm0
movups xmmword [eax], xmm1
xorps xmm2, xmm0
movups xmmword [eax + 0x10], xmm2
mov byte [eax + 0x20], 0
mov dword [ebp - 0x10], 0xffffffff
nop
mov dword [ebp - 0x10], 0xffffffff
push 1
push dword [ebp - 0x20]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004015c0
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x4044bc
mov dword [ebp - 0x24], 0x1000
lea edi, [ebp - 0x1064]
push 0x1000
push 0
push edi
call fcn.00482300
add esp, 0xc
lea esi, [ebp - 0x24]
push esi
push edi
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
jmp 0x4044f8
jmp 0x40450a
mov dword [ebp - 0x24], 0x1000
lea ebx, [ebp - 0x3064]
push 0x1000
push 0
push ebx
call fcn.00482300
add esp, 0xc
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
jmp 0x404541
lea esi, [ebp - 0x2064]
push dword [ebp - 0x24]
push 0
push esi
call fcn.00482300
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0x64
push edi
call sub.NETAPI32.dll_NetWkstaGetInfo
test eax, eax
je 0x404574
nop
push str.NONE
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4045a8
nop
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x404595
nop
push dword [ebp - 0x38]
lea eax, [ebp - 0x2064]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4045a8
nop
push str.NONE
lea eax, [ebp - 0x2064]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
push 1
push str.ProductName
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00401530
add esp, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x64]
push eax
call fcn.00401730
add esp, 4
movsx eax, word [ebp - 0x64]
cmp eax, 9
ja 0x4045f1
mov ecx, 0x2c1
bt ecx, eax
jae 0x4045f1
nop
mov eax, dword [eax*4 + 0x4a413c]
mov dword [0x4c5534], eax
call fcn.004085a0
mov dword [0x4c955c], eax
call fcn.00401d00
call fcn.00408570
mov ebx, eax
mov dword [0x4c9560], eax
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x16c], 0
je 0x404a1d
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x168]
cmp byte [ecx + 0x16b], 0
je 0x404656
xor byte [eax], 0x91
xor byte [eax + 1], 0x39
xor byte [eax + 2], 0xa1
mov byte [eax + 3], 0
nop
push ebx
push eax
push dword [0x4c955c]
call fcn.004085d0
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea edi, [eax + 0x170]
xor esi, esi
nop
mov dword [ebp - 0x20], 0
jmp 0x4046a2
add esi, 0x1000
cmp esi, 0x4000
je 0x404766
lea ebx, [esi + 0x4c555c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x404690
nop
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
call section..text
add esp, 8
mov ebx, eax
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x178], 0
je 0x40471b
cmp byte [edi + 5], 0
je 0x4046f5
xor dword [edi], 0x9b5ff149
xor byte [edi + 4], 0x81
mov byte [edi + 5], 0
nop
push ebx
push edi
push dword [0x4c9560]
call fcn.00408740
mov al, 1
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x404690
nop
push ebx
call fcn.0049403a
add esp, 4
jmp 0x404690
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x178], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x170], 0xfe329027
mov word [eax + 0x174], 0x181
push 0x4078f0
call fcn.00407fab
add esp, 4
jmp 0x4046e1
test byte [ebp - 0x20], 1
jne 0x404810
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x184], 0
je 0x404a5f
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea esi, [eax + 0x17c]
cmp byte [eax + 0x181], 0
je 0x4047b9
xor dword [esi], 0x49e19bb9
xor byte [esi + 4], 0xef
mov byte [esi + 5], 0
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x190], 0
je 0x404aaa
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x188]
cmp byte [ecx + 0x18d], 0
je 0x404802
xor dword [eax], 0x49e19bb9
xor byte [eax + 4], 0xef
mov byte [eax + 5], 0
nop
push esi
push eax
push dword [0x4c9560]
call fcn.00408740
nop
mov esi, dword [ebp - 0x28]
push esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
push eax
push esi
call section..text
add esp, 8
mov dword [0x4c553c], eax
lea esi, [ebp - 0x1064]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
add eax, eax
push eax
push esi
call section..text
add esp, 8
mov dword [0x4c5544], eax
lea esi, [ebp - 0x3064]
push esi
call ebx
add eax, eax
push eax
push esi
call section..text
add esp, 8
mov dword [0x4c5540], eax
lea esi, [ebp - 0x2064]
push esi
call ebx
add eax, eax
push eax
push esi
call section..text
add esp, 8
mov dword [0x4c5548], eax
mov edi, dword [ebp - 0x2c]
push edi
call ebx
add eax, eax
push eax
push edi
call section..text
add esp, 8
mov dword [0x4c554c], eax
push dword [0x4c955c]
call fcn.00408420
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push dword [0x4c955c]
call fcn.00408420
push ebx
push eax
call section..text
add esp, 8
mov dword [0x4c5550], eax
mov esi, 0x2ac
mov eax, dword [0x4c2d24]
add eax, esi
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
add esi, dword [0x4c2d24]
push eax
push esi
call section..text
add esp, 8
mov dword [0x4c5554], eax
mov esi, 0x2ec
mov eax, dword [0x4c2d24]
add eax, esi
push eax
call ebx
add esi, dword [0x4c2d24]
push eax
push esi
call section..text
add esp, 8
mov dword [0x4c5558], eax
push 0x4c9564
push 0
push 0
push 0x4a4450
call sub.SHELL32.dll_SHGetKnownFolderPath
push 0x4c9568
push 0
push 0
push 0x4a4440
call sub.SHELL32.dll_SHGetKnownFolderPath
push 0x4c956c
push 0
push 0
push 0x4a4430
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call esi
push dword [ebp - 0x28]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
xor eax, eax
add esp, 0x3058
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x140], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x13c], 1
movsd xmm0, qword [0x4a42d0]
movsd qword [eax + 0x130], xmm0
mov dword [eax + 0x138], 0x73517a36
push 0x407780
call fcn.00407fab
add esp, 4
jmp 0x4043d3
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x164], 1
nop
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x1064]
mov ecx, dword [0x4c9590]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
lea ecx, [ecx + 0x141]
push eax
call fcn.004077b0
nop
push 0x4078a0
call fcn.00407fab
add esp, 4
jmp 0x404446
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x16c], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x168], 0x1a14ff0
push 0x4078d0
call fcn.00407fab
add esp, 4
jmp 0x404628
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x184], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x17c], 0xcafd4f7
mov word [eax + 0x180], 0x1ef
push 0x407920
call fcn.00407fab
add esp, 4
jmp 0x40478c
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x190], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x188], 0x2c8cfad7
mov word [eax + 0x18c], 0x1ef
push 0x407950
call fcn.00407fab
add esp, 4
jmp 0x4047d5