Function at 0x4328bb
Capabilities:
Get common file path
Get comspec environment variable
Get hostname
Get session user name
Persist via run registry key
Query environment variable

Disassembly:
mov eax, 0x44e6e9
call fcn.0044d654
sub esp, 0x24c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push dword [ebp + 0xc]
lea esi, [ebp - 0x18]
call fcn.00413bc3
and dword [ebp - 4], 0
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x134], 0
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
push 0x41
mov byte [ebp - 0x258], al
pop ecx
lea edi, [ebp - 0x257]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
xor edi, edi
call fcn.00440154
lea eax, [ebp - 0x2c]
push eax
call fcn.00441e02
pop ecx
pop ecx
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_CharUpperBuffA]
push dword [ebp - 0x18]
push dword [edi*4 + 0x45be40]
call fcn.0043f600
test eax, eax
pop ecx
pop ecx
je 0x432944
inc edi
cmp edi, 0x58
jl 0x432929
cmp edi, 0x58
jne 0x4329c7
push 0x454bf0
lea esi, [ebp - 0x140]
call fcn.00413bc3
lea ecx, [ebp - 0x18]
mov edx, esi
mov byte [ebp - 4], 1
call fcn.00413d20
push 0
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
sub esp, 0xc
lea edi, [ebp - 0x140]
mov esi, esp
mov dword [ebp + 8], esp
call fcn.00413c13
mov esi, 0x46b5f4
call fcn.004139f4
cmp dword [ebp + 8], 0
jne 0x432999
xor esi, esi
inc esi
jmp 0x4329a4
push dword [ebp + 8]
push ebx
call fcn.00415ec3
xor esi, esi
mov byte [ebp - 4], 0
push dword [ebp - 0x140]
call fcn.0043f3aa
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.0043f3aa
pop ecx
mov eax, esi
jmp 0x4331ce
cmp edi, 0x57
ja case.default.0x4329d0
jmp dword [edi*4 + 0x4331e0]
push 0x454bc0
jmp 0x432ee7
push 0x4528e4
jmp 0x432ee7
push 0x451fd4
jmp 0x432ee7
push 0x454bbc
jmp 0x432ee7
mov eax, dword [ebp + 8]
push dword [eax + 0x15c]
jmp 0x4331b9
mov eax, dword [ebp + 8]
push dword [eax + 0x160]
jmp 0x4331b9
push dword [esi]
push str._.2d
lea eax, [ebp - 0x134]
push eax
call fcn.0043ffcb
add esp, 0xc
jmp 0x432ee0
push dword [esi + 4]
jmp 0x432a1d
push dword [esi + 8]
jmp 0x432a1d
push dword [esi + 0xc]
jmp 0x432a1d
mov eax, dword [esi + 0x10]
inc eax
push eax
jmp 0x432a1d
mov eax, dword [esi + 0x14]
add eax, 0x76c
jmp 0x4331b8
mov eax, dword [esi + 0x18]
inc eax
jmp 0x4331b8
mov eax, dword [esi + 0x1c]
inc eax
push eax
push str._.3d
jmp 0x432a22
push 0x104
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
jmp 0x432b31
push 0x104
push str.CommonFilesDir
jmp 0x432a78
push 0x104
push str.Personal
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WSOCK32.dll_accept
lea esi, [ebp - 0x134]
call fcn.00411c9e
add esp, 0x10
lea esi, [ebp - 0x134]
call fcn.004121d5
jmp 0x432ee0
push 0x104
push str.Common_AppData
jmp 0x432b2c
mov ebx, 0x104
push ebx
push str.Common_Desktop
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x134]
call fcn.00411c9e
add esp, 0x10
cmp byte [ebp - 0x134], 0
jne 0x432b13
push ebx
push str.Desktop
push edi
push reloc.WSOCK32.dll_accept
lea esi, [ebp - 0x134]
call fcn.00411c9e
add esp, 0x10
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x134]
push eax
jmp 0x432ee9
push 0x104
push str.Common_Documents
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea esi, [ebp - 0x134]
jmp 0x432ed3
mov ebx, 0x104
push ebx
push str.Common_Favorites
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x134]
call fcn.00411c9e
add esp, 0x10
cmp byte [ebp - 0x134], 0
jne 0x432b13
push ebx
push str.Favorites
jmp 0x432aff
mov ebx, 0x104
push ebx
push str.Common_Programs
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x134]
call fcn.00411c9e
add esp, 0x10
cmp byte [ebp - 0x134], 0
jne 0x432b13
push ebx
push str.Programs
jmp 0x432aff
mov ebx, 0x104
push ebx
push str.Common_Start_Menu
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x134]
call fcn.00411c9e
add esp, 0x10
cmp byte [ebp - 0x134], 0
jne 0x432b13
push ebx
push str.Start_Menu
jmp 0x432aff
mov ebx, 0x104
push ebx
push str.Common_Startup
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x134]
call fcn.00411c9e
add esp, 0x10
cmp byte [ebp - 0x134], 0
jne 0x432b13
push ebx
push str.Startup
jmp 0x432aff
push 0x104
push str.AppData
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WSOCK32.dll_accept
lea esi, [ebp - 0x134]
jmp 0x432ed8
push 0x104
push str.Desktop
jmp 0x432c2f
push 0x104
push str.Favorites
jmp 0x432c2f
push 0x104
push str.Programs
jmp 0x432c2f
push 0x104
push str.Start_Menu
jmp 0x432c2f
push 0x104
push str.Startup
jmp 0x432c2f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
jmp 0x432ee0
push 0x104
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
jmp 0x432ee0
push 0x104
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
jmp 0x432ee0
push 0
jmp 0x4331b9
push 6
jmp 0x4331b9
push 9
jmp 0x4331b9
push 5
jmp 0x4331b9
push 0xa
jmp 0x4331b9
push 3
jmp 0x4331b9
push 2
jmp 0x4331b9
push 7
jmp 0x4331b9
push 8
jmp 0x4331b9
push 4
jmp 0x4331b9
cmp byte [0x45ca16], 1
jmp 0x432d21
cmp byte [0x46a349], 1
mov esi, ebx
jne 0x432d2c
push 1
jmp 0x4331bb
push 0
jmp 0x4331bb
push 0x40
jmp 0x4331b9
push 0x41
jmp 0x4331b9
push 0x42
jmp 0x4331b9
push 0x43
jmp 0x4331b9
mov eax, dword [ebp + 8]
push dword [eax + 0x70]
jmp 0x432ee7
mov eax, dword [ebp + 8]
push dword [eax + 0x64]
jmp 0x432ee7
mov eax, dword [ebp + 8]
push dword [eax + 0x7c]
jmp 0x432ee7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x90]
mov ecx, 0x46b600
call fcn.0040e4a6
jmp 0x4331b8
lea eax, [ebp - 0x134]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
jmp 0x432ee0
mov eax, dword [0x466f1c]
mov ecx, eax
dec ecx
je 0x432dd0
dec ecx
je 0x432dc6
dec ecx
je 0x432dbc
neg eax
push eax
push str.UNKN_d
jmp 0x432a22
push 0x454a44
jmp 0x432ee7
push str.IA64
jmp 0x432ee7
push 0x454a50
jmp 0x432ee7
cmp byte [0x466f04], 1
mov esi, ebx
jne 0x432def
push str.WIN32_NT
jmp 0x432ee9
push str.WIN32_WINDOWS
jmp 0x432ee9
cmp byte [0x466f04], 1
jne 0x432e6a
cmp byte [0x466f0a], 1
jne 0x432e15
push str.WIN_6.1
jmp 0x432ee7
cmp byte [0x466f10], 1
jne 0x432e28
push str.WIN_6.0
jmp 0x432ee7
cmp byte [0x466f0e], 1
jne 0x432e3b
push str.WIN_2003
jmp 0x432ee7
cmp byte [0x466f08], 1
jne 0x432e4e
push str.WIN_XP
jmp 0x432ee7
cmp byte [0x466f0c], 1
mov esi, ebx
jne 0x432e63
push str.WIN_2000
jmp 0x432ee9
push str.WIN_NT4
jmp 0x432ee9
cmp byte [0x466f14], 1
jne 0x432e7a
push str.WIN_95
jmp 0x432ee7
cmp byte [0x466f12], 1
mov esi, ebx
jne 0x432e8c
push str.WIN_98
jmp 0x432ee9
push str.WIN_ME
jmp 0x432ee9
push dword [0x466e00]
jmp 0x4331b9
push 0x466e04
jmp 0x432ee7
cmp byte [0x466f04], 1
push 0x104
lea esi, [ebp - 0x134]
jne 0x432ef3
cmp byte [0x466f0d], 1
jne 0x432ec9
push str.InstallLanguage
jmp 0x432ece
push str.Default
push str.SYSTEMCurrentControlSetControlNlsLanguage
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00411c9e
add esp, 0x10
lea eax, [ebp - 0x134]
push eax
mov esi, ebx
call fcn.0041613a
jmp case.default.0x4329d0
push 0x451fe6
push str..DEFAULTControl_PanelDesktopResourceLocale
push reloc.WSOCK32.dll_closesocket
call fcn.00411c9e
add esp, 0x10
lea eax, [ebp - 0x130]
jmp 0x432ee6
lea eax, [ebp - 0x258]
push 0x454954
push eax
call fcn.0043f3b0
lea eax, [ebp - 0x258]
push eax
xor esi, esi
xor edi, edi
call fcn.0043f830
add esp, 0xc
test eax, eax
jle 0x432f6d
mov al, byte [ebp + edi - 0x258]
cmp al, 0x20
je 0x432f5b
cmp al, 0x2c
jne 0x432f53
mov byte [ebp + esi - 0x258], 0x2e
jmp 0x432f5a
mov byte [ebp + esi - 0x258], al
inc esi
lea eax, [ebp - 0x258]
push eax
inc edi
call fcn.0043f830
cmp edi, eax
pop ecx
jl 0x432f3a
mov byte [ebp + esi - 0x258], 0
lea eax, [ebp - 0x258]
jmp 0x432ee6
push 0x105
lea eax, [ebp - 0x134]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
jmp 0x432ee0
lea eax, [ebp - 0x28]
xor esi, esi
push eax
inc esi
call fcn.00412dcb
pop ecx
lea eax, [ebp - 0x28]
jmp 0x432ee6
lea eax, [ebp - 0x28]
push eax
push 2
jmp 0x432fc4
lea eax, [ebp - 0x28]
push eax
push 3
jmp 0x432fc4
lea eax, [ebp - 0x28]
push eax
push 4
pop esi
jmp 0x432fa0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x148]
jmp 0x4331b9
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x144]
jmp 0x4331b9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
jmp 0x433029
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x74
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov esi, ebx
call fcn.00416039
push dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp case.default.0x4329d0
push 0x104
lea eax, [ebp - 0x134]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
jmp 0x432ee0
lea eax, [ebp - 0x134]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
jmp 0x432ab0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x432ee0
push 1
jmp 0x4331b9
cmp byte [0x466f04], 0
push 0x104
je 0x4330bd
lea eax, [ebp - 0x134]
push eax
push str.USERPROFILE
jmp 0x43305b
push str.Desktop
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WSOCK32.dll_accept
lea esi, [ebp - 0x134]
call fcn.00411c9e
mov eax, esi
push eax
call fcn.0043f830
add esp, 0x14
jmp 0x4330ee
cmp byte [ebp + eax - 0x134], 0x5c
je 0x4330f1
dec eax
jns 0x4330e4
mov byte [ebp + eax - 0x134], 0
jmp 0x432ee0
push 0x104
lea eax, [ebp - 0x134]
push eax
push str.HOMEDRIVE
jmp 0x43305b
push 0x104
lea eax, [ebp - 0x134]
push eax
push str.HOMEPATH
jmp 0x43305b
push 0x104
lea eax, [ebp - 0x134]
push eax
push str.HOMESHARE
jmp 0x43305b
push 0x104
lea eax, [ebp - 0x134]
push eax
push str.LOGONSERVER
jmp 0x43305b
push 0x104
lea eax, [ebp - 0x134]
push eax
push str.USERDOMAIN
jmp 0x43305b
push 0x104
lea eax, [ebp - 0x134]
push eax
push str.USERDNSDOMAIN
jmp 0x43305b
mov eax, dword [ebp + 8]
push dword [eax + 0x120]
jmp 0x4331b9
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x11c]
jmp 0x4331b8
mov eax, dword [ebp + 8]
push dword [eax + 0x164]
jmp 0x4331b9
mov eax, dword [ebp + 8]
push dword [eax + 0x168]
jmp 0x432ee7
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
mov esi, ebx
call fcn.00416039
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.0043f3aa
xor eax, eax
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc