Function at 0x12ec95e0
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x130666af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x504
push ebx
mov ebx, dword [esp + 0x51c]
push ebp
push esi
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.12f4cce0
mov ebp, dword [esp + 0x520]
lea ecx, [esp + 0xc]
push ebp
call fcn.12f46b50
mov eax, dword [0x13199068]
mov dword [esp + 0x518], 0
test eax, eax
je 0x12ec964e
mov eax, dword [esp + 0xc]
push eax
push str.ExpandPath___s__begin_r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x10
push edi
push 0x25
lea ecx, [esp + 0x14]
call fcn.12f483f0
mov esi, eax
cmp esi, 0xffffffff
je 0x12eca93f
push str._USERAPPDATA2_
lea ecx, [esp + 0x14]
call fcn.12f4bf10
cmp eax, 0xffffffff
je 0x12ec96c7
lea ecx, [esp + 0x10]
call fcn.12f48550
push str._LOCALAPPDATA__
push str._USERAPPDATA2_LOCAL_
lea ecx, [esp + 0x18]
call fcn.12f49230
push str._LOCALLOWAPPDATA__
push str._USERAPPDATA2_LOCALLOW_
lea ecx, [esp + 0x18]
call fcn.12f49230
push str._USERAPPDATA__
push str._USERAPPDATA2_ROAMING_
lea ecx, [esp + 0x18]
call fcn.12f49230
push 0x25
lea ecx, [esp + 0x14]
call fcn.12f483f0
mov esi, eax
cmp esi, 0xffffffff
je 0x12eca93f
lea ecx, [esi + 1]
push ecx
push 0x25
lea ecx, [esp + 0x18]
call fcn.12f48430
mov edi, eax
cmp edi, 0xffffffff
je 0x12eca93f
mov edx, edi
lea eax, [esp + 0x18]
sub edx, esi
lea ecx, [esp + 0x10]
inc edx
push edx
push esi
push eax
call fcn.12f49610
lea ecx, [esp + 0x10]
mov byte [esp + 0x51c], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.12f468f0
mov edx, dword [esp + 0x18]
push str._UserAppData_
push edx
mov byte [esp + 0x524], 2
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12ec97b1
inc edi
lea eax, [esp + 0x58]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea ecx, [esp + 0xc8]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 3
call fcn.12f49a30
mov esi, eax
mov edx, dword [edi]
mov byte [esp + 0x51c], 4
push edx
call fcn.12edce50
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1c]
push 0x13146ae4
push ecx
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xc8]
mov byte [esp + 0x51c], 3
call fcn.12f472f0
lea ecx, [esp + 0x58]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov edx, dword [esp + 0x18]
push str._UserAppData2_
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12ec9e89
call fcn.12f9c6f0
test eax, eax
je 0x12ec9cdb
call fcn.12edce50
push eax
lea ecx, [esp + 0x48]
call fcn.12f46b50
mov byte [esp + 0x51c], 5
call fcn.12edd450
push eax
lea ecx, [esp + 0x40]
call fcn.12f46b50
mov byte [esp + 0x51c], 6
call fcn.12edd6f0
push eax
lea ecx, [esp + 0x38]
call fcn.12f46b50
push 0x5c
lea ecx, [esp + 0x48]
mov byte [esp + 0x520], 7
call fcn.12f484a0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x12ec9a45
push 0x5c
lea ecx, [esp + 0x40]
call fcn.12f484a0
cmp ebp, eax
jne 0x12ec9a45
push 0x5c
lea ecx, [esp + 0x38]
call fcn.12f484a0
cmp ebp, eax
jne 0x12ec9a45
lea eax, [esp + 0x40]
push ebp
push eax
lea ecx, [esp + 0x4c]
call fcn.12f49a30
lea ecx, [esp + 0x60]
push ebp
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x524], 8
call fcn.12f49a30
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
push eax
push edx
mov byte [esp + 0x524], 9
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12ec98e9
lea eax, [esp + 0xb0]
push ebp
push eax
lea ecx, [esp + 0x3c]
call fcn.12f49a30
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x524], 0xa
call fcn.12f5e2a4
add esp, 8
lea ecx, [esp + 0xb0]
test eax, eax
sete bl
mov byte [esp + 0x51c], 9
call fcn.12f472f0
test bl, bl
je 0x12ec98e9
mov ebx, 1
jmp 0x12ec98eb
xor ebx, ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x51c], 8
call fcn.12f472f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x51c], 7
call fcn.12f472f0
test ebx, ebx
je 0x12ec9a45
call fcn.12edce50
push eax
lea ecx, [esp + 0x4c]
call fcn.12f46b50
mov edx, dword [0x1307d24c]
mov byte [esp + 0x51c], 0xb
mov dword [esp + 0x38], edx
push 0x5c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x520], 0xc
call fcn.12f484a0
cmp eax, 0xffffffff
je 0x12ec9986
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x50]
call fcn.12f49a30
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x520], 0xd
call fcn.12f47480
lea ecx, [esp + 0xf0]
mov byte [esp + 0x51c], 0xc
call fcn.12f472f0
inc edi
lea ecx, [esp + 0xb8]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea edx, [esp + 0x68]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0xe
call fcn.12f49a30
mov ecx, dword [edi]
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x13146ae4
push ecx
mov byte [esp + 0x530], 0xf
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x68]
mov byte [esp + 0x51c], 0xe
call fcn.12f472f0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x51c], 0xc
call fcn.12f472f0
mov eax, dword [0x13199068]
test eax, eax
je 0x12ec9a23
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
push str.ExpandPath_IsWinVistaAfter___s_______s__A1_r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x38]
mov byte [esp + 0x51c], 0xb
call fcn.12f472f0
mov byte [esp + 0x51c], 7
lea ecx, [esp + 0x48]
jmp 0x12ec9c97
inc edi
lea ecx, [esp + 0xe0]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov ebp, eax
lea edx, [esp + 0x70]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x10
call fcn.12f49a30
mov ebx, eax
mov eax, dword [ebp]
mov byte [esp + 0x51c], 0x11
push eax
call fcn.12edd450
mov ecx, dword [ebx]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x13146ae4
push edx
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x70]
mov byte [esp + 0x51c], 0x10
call fcn.12f472f0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x51c], 7
call fcn.12f472f0
mov ecx, dword [esp + 0x528]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.12f4d280
mov eax, dword [0x13199068]
test eax, eax
je 0x12ec9afb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str.ExpandPath_IsWinVistaAfter___s_______s__B1_r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x14
lea edx, [esp + 0xc0]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov ebx, eax
lea eax, [esp + 0x78]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x12
call fcn.12f49a30
mov ebp, eax
mov ecx, dword [ebx]
mov byte [esp + 0x51c], 0x13
push ecx
call fcn.12edd6f0
mov edx, dword [ebp]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x78]
mov byte [esp + 0x51c], 0x12
call fcn.12f472f0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x51c], 7
call fcn.12f472f0
mov ecx, dword [esp + 0x528]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.12f4d280
mov eax, dword [0x13199068]
test eax, eax
je 0x12ec9bb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str.ExpandPath_IsWinVistaAfter___s_______s__B2_r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x14
call fcn.12edce50
push eax
lea ecx, [esp + 0x34]
call fcn.12f46b50
mov eax, dword [0x13199068]
mov byte [esp + 0x51c], 0x14
test eax, eax
je 0x12ec9be9
mov edx, dword [esp + 0x30]
push edx
push str.GetUserAppDataPath_IsWinVistaAfter___s__r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x10
lea eax, [esp + 0x100]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea ecx, [esp + 0x80]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x15
call fcn.12f49a30
mov edx, dword [edi]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
mov byte [esp + 0x530], 0x16
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x80]
mov byte [esp + 0x51c], 0x15
call fcn.12f472f0
lea ecx, [esp + 0x100]
mov byte [esp + 0x51c], 0x14
call fcn.12f472f0
mov eax, dword [0x13199068]
test eax, eax
je 0x12ec9c8b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push str.ExpandPath_IsWinVistaAfter___s_______s__B3_r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x14
mov byte [esp + 0x51c], 7
lea ecx, [esp + 0x30]
call fcn.12f472f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x51c], 6
call fcn.12f472f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x51c], 5
call fcn.12f472f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
mov ebx, dword [esp + 0x528]
jmp 0x12eca8dc
inc edi
lea eax, [esp + 0x50]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov ebp, eax
lea ecx, [esp + 0x88]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x17
call fcn.12f49a30
mov ebx, eax
mov edx, dword [ebp]
mov byte [esp + 0x51c], 0x18
push edx
call fcn.12edd450
push eax
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x1c]
push 0x13146ae4
push ecx
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x88]
mov byte [esp + 0x51c], 0x17
call fcn.12f472f0
lea ecx, [esp + 0x50]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
mov ecx, dword [esp + 0x528]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.12f4d280
mov eax, dword [0x13199068]
test eax, eax
je 0x12ec9d91
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str.ExpandPath_xp___s_______s__x1_r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x14
call fcn.12edce50
push eax
lea ecx, [esp + 0x50]
call fcn.12f46b50
mov eax, dword [0x13199068]
mov byte [esp + 0x51c], 0x19
test eax, eax
je 0x12ec9dca
mov edx, dword [esp + 0x4c]
push edx
push str.GetUserAppDataPath_xp___s__r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x10
lea eax, [esp + 0xe8]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea ecx, [esp + 0x90]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x1a
call fcn.12f49a30
mov edx, dword [edi]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
mov byte [esp + 0x530], 0x1b
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x90]
mov byte [esp + 0x51c], 0x1a
call fcn.12f472f0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x51c], 0x19
call fcn.12f472f0
mov eax, dword [0x13199068]
test eax, eax
je 0x12ec9e6c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push str.ExpandPath_xp___s_______s__x2_r_n
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
mov ebx, dword [esp + 0x528]
jmp 0x12eca8dc
mov eax, dword [esp + 0x18]
push str._UserTemp_
push eax
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12ec9f27
inc edi
lea ecx, [esp + 0xd0]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea edx, [esp + 0x98]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x1c
call fcn.12f49a30
mov esi, eax
mov eax, dword [edi]
mov byte [esp + 0x51c], 0x1d
push eax
call fcn.12edd110
mov ecx, dword [esi]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x13146ae4
push edx
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x98]
mov byte [esp + 0x51c], 0x1c
call fcn.12f472f0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov eax, dword [esp + 0x18]
push str._LocalLowAppData_
push eax
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca056
call fcn.12f9c6f0
test eax, eax
je 0x12ec9fd2
inc edi
lea ecx, [esp + 0xf8]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea edx, [esp + 0xa0]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x1e
call fcn.12f49a30
mov esi, eax
mov eax, dword [edi]
mov byte [esp + 0x51c], 0x1f
push eax
call fcn.12edd6f0
mov ecx, dword [esi]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x13146ae4
push edx
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xa0]
mov byte [esp + 0x51c], 0x1e
call fcn.12f472f0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
inc edi
lea eax, [esp + 0xd8]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea ecx, [esp + 0xa8]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x20
call fcn.12f49a30
mov esi, eax
mov edx, dword [edi]
mov byte [esp + 0x51c], 0x21
push edx
call fcn.12edd450
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1c]
push 0x13146ae4
push ecx
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xa8]
mov byte [esp + 0x51c], 0x20
call fcn.12f472f0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov edx, dword [esp + 0x18]
push str._System_
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca1db
call fcn.12f9c520
test eax, eax
je 0x12eca163
call fcn.12ede880
push eax
lea ecx, [esp + 0x20]
call fcn.12f46b50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x51c], 0x22
call fcn.12f48550
push str.SYSTEM32
lea ecx, [esp + 0x20]
call fcn.12f484d0
cmp eax, 0xffffffff
jne 0x12eca0bc
push str.SYSTEM32
push str.SYSWOW64
jmp 0x12eca0c6
push str.SYSWOW64
push str.SYSTEM32
lea ecx, [esp + 0x24]
call fcn.12f49230
lea eax, [edi + 1]
lea ecx, [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov ebp, eax
lea edx, [esp + 0x54]
push esi
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x23
call fcn.12f49a30
mov ecx, dword [ebp]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x13146ae4
push ecx
mov byte [esp + 0x530], 0x24
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x51c], 0x23
call fcn.12f472f0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x51c], 0x22
call fcn.12f472f0
mov eax, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, ebx
call fcn.12f4d280
lea ecx, [esp + 0x1c]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
inc edi
lea eax, [esp + 0x6c]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea ecx, [esp + 0x64]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x25
call fcn.12f49a30
mov esi, eax
mov edx, dword [edi]
mov byte [esp + 0x51c], 0x26
push edx
call fcn.12ede880
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1c]
push 0x13146ae4
push ecx
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x64]
mov byte [esp + 0x51c], 0x25
call fcn.12f472f0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov edx, dword [esp + 0x18]
push str._Syswow64_
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca2ae
call fcn.12ede880
push eax
lea ecx, [esp + 0x30]
call fcn.12f46b50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x51c], 0x27
call fcn.12f48550
push str.SYSWOW64
push str.SYSTEM32
lea ecx, [esp + 0x34]
call fcn.12f49230
inc edi
lea eax, [esp + 0x7c]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea ecx, [esp + 0x74]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x28
call fcn.12f49a30
mov edx, dword [edi]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
mov byte [esp + 0x530], 0x29
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x74]
mov byte [esp + 0x51c], 0x28
call fcn.12f472f0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x51c], 0x27
call fcn.12f472f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov ecx, dword [esp + 0x18]
push str._Windows_
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca34c
inc edi
lea edx, [esp + 0x8c]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea eax, [esp + 0x84]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x2a
call fcn.12f49a30
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x2b
push ecx
call fcn.12ede9c0
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x84]
mov byte [esp + 0x51c], 0x2a
call fcn.12f472f0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov ecx, dword [esp + 0x18]
push str._ProgramFiles_
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca4e9
call fcn.12f9c520
test eax, eax
je 0x12eca465
call fcn.12edeb00
push eax
lea ecx, [esp + 0x28]
call fcn.12f46b50
lea ecx, [esp + 0x24]
mov byte [esp + 0x51c], 0x2c
call fcn.12f48550
push str.PROGRAM_FILES__X86_
lea ecx, [esp + 0x28]
call fcn.12f484d0
cmp eax, 0xffffffff
jne 0x12eca3b2
push str.PROGRAM_FILES__X86_
push str.PROGRAM_FILES
jmp 0x12eca3bc
push str.PROGRAM_FILES
push str.PROGRAM_FILES__X86_
lea ecx, [esp + 0x2c]
call fcn.12f49230
lea edx, [edi + 1]
lea eax, [esp + 0x9c]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov ebp, eax
lea ecx, [esp + 0x94]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x2d
call fcn.12f49a30
mov edx, dword [ebp]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
mov byte [esp + 0x530], 0x2e
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0x94]
mov byte [esp + 0x51c], 0x2d
call fcn.12f472f0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x51c], 0x2c
call fcn.12f472f0
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.12f4d280
lea ecx, [esp + 0x24]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
inc edi
lea edx, [esp + 0xac]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea eax, [esp + 0xa4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x2f
call fcn.12f49a30
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x30
push ecx
call fcn.12edeb00
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xa4]
mov byte [esp + 0x51c], 0x2f
call fcn.12f472f0
lea ecx, [esp + 0xac]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov ecx, dword [esp + 0x18]
push str._CommonFiles_
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca686
call fcn.12f9c520
test eax, eax
je 0x12eca602
call fcn.12edec40
push eax
lea ecx, [esp + 0x24]
call fcn.12f46b50
lea ecx, [esp + 0x20]
mov byte [esp + 0x51c], 0x31
call fcn.12f48550
push str.PROGRAM_FILES__X86_
lea ecx, [esp + 0x24]
call fcn.12f484d0
cmp eax, 0xffffffff
jne 0x12eca54f
push str.PROGRAM_FILES__X86_
push str.PROGRAM_FILES
jmp 0x12eca559
push str.PROGRAM_FILES
push str.PROGRAM_FILES__X86_
lea ecx, [esp + 0x28]
call fcn.12f49230
lea edx, [edi + 1]
lea eax, [esp + 0xbc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov ebp, eax
lea ecx, [esp + 0xb4]
push esi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x32
call fcn.12f49a30
mov edx, dword [ebp]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
mov byte [esp + 0x530], 0x33
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xb4]
mov byte [esp + 0x51c], 0x32
call fcn.12f472f0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x51c], 0x31
call fcn.12f472f0
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.12f4d280
lea ecx, [esp + 0x20]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
inc edi
lea edx, [esp + 0xcc]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea eax, [esp + 0xc4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x34
call fcn.12f49a30
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x35
push ecx
call fcn.12edec40
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xc4]
mov byte [esp + 0x51c], 0x34
call fcn.12f472f0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov ecx, dword [esp + 0x18]
push str._LocalAppData_
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca724
inc edi
lea edx, [esp + 0xdc]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea eax, [esp + 0xd4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x36
call fcn.12f49a30
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x37
push ecx
call fcn.12edd450
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xd4]
mov byte [esp + 0x51c], 0x36
call fcn.12f472f0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov ecx, dword [esp + 0x18]
push str._CommonAppData_
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca7c2
inc edi
lea edx, [esp + 0xec]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea eax, [esp + 0xe4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x38
call fcn.12f49a30
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x39
push ecx
call fcn.12ede5e0
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xe4]
mov byte [esp + 0x51c], 0x38
call fcn.12f472f0
lea ecx, [esp + 0xec]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov ecx, dword [esp + 0x18]
push str._UserLocalInternetCache_
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca85d
inc edi
lea edx, [esp + 0xfc]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.12f495e0
mov edi, eax
lea eax, [esp + 0xf4]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 0x3a
call fcn.12f49a30
mov esi, eax
mov ecx, dword [edi]
mov byte [esp + 0x51c], 0x3b
push ecx
call fcn.12ede340
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x13146ae4
push eax
call fcn.12f4a270
add esp, 0x14
lea ecx, [esp + 0xf4]
mov byte [esp + 0x51c], 0x3a
call fcn.12f472f0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x51c], 2
call fcn.12f472f0
jmp 0x12eca8dc
mov ecx, dword [esp + 0x18]
push str._SDCvrt_
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
je 0x12eca8dc
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x106]
mov word [esp + 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x104]
push 0x208
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x12eca91d
cmp eax, 0x208
jae 0x12eca91d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x104]
push ecx
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
je 0x12eca91d
lea eax, [esp + 0x104]
lea ecx, [esp + 0x10]
push eax
call fcn.12f47570
push 0x25
lea ecx, [esp + 0x14]
call fcn.12f483f0
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x51c], 1
call fcn.12f472f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x51c], 0
call fcn.12f472f0
mov ebp, dword [esp + 0x524]
cmp esi, 0xffffffff
jne 0x12ec96d0
jmp 0x12eca93f
lea ecx, [esp + 0x14]
mov byte [esp + 0x51c], 1
call fcn.12f472f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x51c], 0
call fcn.12f472f0
mov ecx, dword [esp + 0x10]
push ebp
mov esi, dword [ecx - 8]
call fcn.12f5c51d
add esp, 4
cmp esi, eax
pop edi
jne 0x12eca974
mov edx, dword [esp + 0xc]
push ebp
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12eca974
mov eax, dword [ebx + 4]
push ebp
push eax
mov ecx, ebx
call fcn.12f4d190
jmp 0x12eca984
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.12f4d280
push 0x131912a8
lea ecx, [esp + 0x28]
call fcn.12f46b50
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
mov byte [esp + 0x518], 0x3c
jle 0x12eca9d3
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
test eax, eax
je 0x12eca9bc
push 0x130c6c74
lea ecx, [esp + 0x28]
call fcn.12f47f40
mov eax, dword [ebx]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x28]
call fcn.12f47fa0
mov eax, dword [ebx + 4]
inc esi
cmp esi, eax
jl 0x12eca9a3
mov eax, dword [0x13199068]
test eax, eax
je 0x12ecaa07
test ebp, ebp
mov eax, 0x130c8c0c
je 0x12eca9e7
mov eax, ebp
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x13196dcc]
push eax
push 0x13146624
push str.ExpandPath
push 4
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x518], 0
call fcn.12f472f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x518], 0xffffffff
call fcn.12f472f0
mov ecx, dword [esp + 0x510]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x510
ret