Function at 0x4e0032
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get process heap flags
Get process heap force flags
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da933
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.00506f00
mov eax, dword [0x67e2d4]
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
lea esi, [ecx + 0x30]
mov ecx, esi
call fcn.004f5056
lea ecx, [ebp - 0x1034]
call fcn.0042ca82
lea eax, [ebp - 0x1018]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x1034]
mov dword [ebp - 4], ebx
call fcn.00460423
mov edi, 0x5f1b04
mov byte [ebp - 4], 1
push edi
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1018]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004393d5
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 3
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004606bf
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 5
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.00439eba
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 7
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004a5e72
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 9
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004c8f50
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0xb
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004c8f50
push str.Common_Files_
push eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x1018]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004c8f50
push str.Internet_Explorer_
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0xf
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004c8fc7
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004e5249
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x13
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004e5694
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x15
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004ecbae
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x17
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004ed062
push edi
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x19
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004ed062
push str._syswow64_
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x1b
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1c
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004ed062
push str.winsis_
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x1d
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x101c]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004ed062
push 2
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 0x1f
push ecx
mov ecx, eax
call fcn.0043189c
push str.Program_Files_
push eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0x20
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.004ff6eb
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x101c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004ed062
push 2
lea ecx, [ebp - 0x1018]
mov byte [ebp - 4], 0x22
push ecx
mov ecx, eax
call fcn.0043189c
push str.ProgramData_
push eax
lea eax, [ebp - 0x101c]
mov byte [ebp - 4], 0x23
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x24
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x41
pop edi
push 1
push edi
lea ecx, [ebp - 0x1018]
call fcn.0044d721
push str.:Program_Files_
push eax
lea eax, [ebp - 0x101c]
mov byte [ebp - 4], 0x25
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x26
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1018]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00412ac4
inc edi
cmp di, 0x5a
jbe 0x4e0654
push 0x1000
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x800
push eax
push str._USERPROFILE_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4e0877
push ecx
lea eax, [ebp - 0x1010]
mov ecx, esp
push eax
call fcn.00413f09
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1034]
call fcn.0042fedd
lea eax, [ebp - 0x1014]
mov byte [ebp - 4], 0x27
push eax
mov ecx, esi
call fcn.004366b4
push str.default_
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x28
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
mov byte [ebp - 4], 0x27
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push str.public_
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x29
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
mov byte [ebp - 4], 0x27
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push str.Default_User_
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2a
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
mov byte [ebp - 4], 0x27
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push str.All_Users_
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2b
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
mov byte [ebp - 4], 0x27
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push str.LocalService_
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2c
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
mov byte [ebp - 4], 0x27
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push str.NetworkService_
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2d
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x1010]
push eax
push ebx
push ebx
push 0x8028
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4e08e3
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1018]
call fcn.00413f09
push 0x5f1b04
push eax
lea eax, [ebp - 0x101c]
mov byte [ebp - 4], 0x2e
push eax
call fcn.0042dfbd
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2f
call fcn.004ff6eb
mov ecx, dword [ebp - 0x101c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1018]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x1034]
call fcn.0042e60b
mov ecx, dword [ebp - 0x1024]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
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.00506d7f
mov esp, ebp
pop ebp
ret