Function at 0x41332a
Capabilities:
Get common file path
Get geographical location

Disassembly:
mov eax, 0x424613
call fcn.0041b410
sub esp, 0x26c
and dword [ebp - 0x28], 0
push ebx
push esi
lea eax, [ebp - 0x178]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x54]
push 0x10
push eax
push str.Language
push 0
call fcn.00410fa4
lea eax, [ebp - 0x54]
push eax
call fcn.0041af60
test eax, eax
pop ecx
jne 0x413461
mov al, byte [0x432408]
push 0x3f
mov byte [ebp - 0x278], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x277]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00415696
test eax, eax
jne 0x4133bc
call fcn.004156d7
test eax, eax
jne 0x4133bc
lea eax, [ebp - 0x278]
push 0x100
push eax
push str.Locale
push str.Control_PanelInternational
jmp 0x4133d2
lea eax, [ebp - 0x278]
push 0x100
push eax
push 0x432408
push str.Control_PaneldesktopResourceLocale
push 0x80000001
call fcn.00413aaa
add esp, 0x14
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x278]
push 0x42aaec
push eax
call fcn.0041aa48
and dword [ebp - 0x34], 0xff
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x10
push eax
movzx eax, word [ebp - 0x34]
push 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00413e2e
push 1
lea ecx, [ebp - 0x64]
pop edi
push 2
push ecx
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0041430d
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00413ead
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041b320
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00413e8c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00413e8c
jmp 0x413464
push 1
pop edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00413e74
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
call fcn.00412f66
test al, al
pop ecx
je 0x413498
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00413e74
mov dword [ebp - 0x28], edi
jmp 0x4139e6
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00413eb9
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00413e2e
mov esi, str._LANG_
lea ecx, [ebp - 0x24]
push esi
mov byte [ebp - 4], 4
call fcn.00413e2e
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412f81
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00413e8c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00413e8c
mov ebx, str.c:TestMorph_
lea ecx, [ebp - 0x24]
push ebx
call fcn.00413e2e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004140d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00413eb9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00413e8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00412f66
test al, al
pop ecx
je 0x413559
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00413e74
mov dword [ebp - 0x28], edi
jmp 0x4139e6
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00413eb9
mov edi, 0x42da60
lea ecx, [ebp - 0x24]
push edi
call fcn.00413e2e
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00413e2e
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412f81
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00413e8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00413e8c
push ebx
lea ecx, [ebp - 0x24]
call fcn.00413e2e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004140d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.00413eb9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00413e8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00412f66
test al, al
pop ecx
jne 0x4139c4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00413eb9
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x24]
push eax
call fcn.00413e2e
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00413e2e
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412f81
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00413e8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00413e8c
mov ebx, str.TBTEMP_
lea ecx, [ebp - 0x3c]
push ebx
call fcn.00413e2e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xe
call fcn.00413e2e
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.004140d9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004140d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00413eb9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.00413e8c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.00413e8c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.00413e8c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00412f66
test al, al
pop ecx
jne 0x4139c4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00413eb9
push edi
lea ecx, [ebp - 0x24]
call fcn.00413e2e
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00413e2e
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412f81
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00413e8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00413e8c
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00413e2e
mov ebx, eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x14
call fcn.00413e2e
lea ecx, [ebp - 0x44]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.004140d9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x16
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.004140d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x17
call fcn.00413eb9
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
call fcn.00413e8c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00413e8c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.00413e8c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00412f66
test al, al
pop ecx
jne 0x4139c4
lea eax, [ebp - 0x178]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00410fa4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00413eb9
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x24]
push eax
call fcn.00413e2e
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.00413e2e
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412f81
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.00413e8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00413110
pop ecx
mov ebx, 0x42a310
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00413e2e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00413e2e
push dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, eax
call fcn.004140d9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.004140d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.00413eb9
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1c
call fcn.00413e8c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
call fcn.00413e8c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
call fcn.00413e8c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00412f66
test al, al
pop ecx
jne 0x4139c4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00413eb9
push edi
lea ecx, [ebp - 0x24]
call fcn.00413e2e
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00413e2e
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412f81
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00413e8c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00413110
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00413e2e
mov esi, eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x20
call fcn.00413e2e
lea ecx, [ebp - 0x44]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.004140d9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x22
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.004140d9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x23
call fcn.00413eb9
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x22
call fcn.00413e8c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x21
call fcn.00413e8c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.00413e8c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00413e8c
lea eax, [ebp - 0x14]
push eax
call fcn.00412f66
test al, al
pop ecx
je 0x4139d2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00413e74
jmp 0x4139df
mov ecx, dword [ebp + 8]
push 0x432408
call fcn.00413e2e
mov dword [ebp - 0x28], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00413e8c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret