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

Disassembly:
mov eax, 0x43fcb3
call fcn.00434b78
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.00413c6a
lea eax, [ebp - 0x54]
push eax
call fcn.004347c0
test eax, eax
pop ecx
jne 0x4163bb
mov al, byte [0x4540b0]
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.00418565
test eax, eax
jne 0x416316
call fcn.0041698a
test eax, eax
jne 0x416316
lea eax, [ebp - 0x278]
push pe_nt_image_headers32
push eax
push str.Locale
push str.Control_PanelInternational
jmp 0x41632c
lea eax, [ebp - 0x278]
push pe_nt_image_headers32
push eax
push 0x4540b0
push str.Control_PaneldesktopResourceLocale
push 0x80000001
call fcn.00416a1b
add esp, 0x14
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x278]
push 0x44ab20
push eax
call fcn.00433ee3
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.00416cb2
push 1
lea ecx, [ebp - 0x64]
pop edi
push 2
push ecx
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00417191
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00416d31
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00434ba0
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00416d10
and byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00416d10
jmp 0x4163be
push 1
pop edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00416cf8
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
call fcn.00415ec0
test al, al
pop ecx
je 0x4163f2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00416cf8
mov dword [ebp - 0x28], edi
jmp 0x416940
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00416d3d
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00416cb2
mov esi, str._LANG_
lea ecx, [ebp - 0x24]
push esi
mov byte [ebp - 4], 4
call fcn.00416cb2
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.00415edb
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00416d10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00416d10
mov ebx, str.c:TestMorph_
lea ecx, [ebp - 0x24]
push ebx
call fcn.00416cb2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00416f5d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00416d3d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00416d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.00415ec0
test al, al
pop ecx
je 0x4164b3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00416cf8
mov dword [ebp - 0x28], edi
jmp 0x416940
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00416d3d
mov edi, 0x44dd08
lea ecx, [ebp - 0x24]
push edi
call fcn.00416cb2
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00416cb2
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.00415edb
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00416d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00416d10
push ebx
lea ecx, [ebp - 0x24]
call fcn.00416cb2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00416f5d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.00416d3d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00416d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.00415ec0
test al, al
pop ecx
jne 0x41691e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00416d3d
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x24]
push eax
call fcn.00416cb2
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00416cb2
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.00415edb
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00416d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00416d10
mov ebx, str.TBTEMP_
lea ecx, [ebp - 0x3c]
push ebx
call fcn.00416cb2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xe
call fcn.00416cb2
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.00416f5d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00416f5d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00416d3d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.00416d10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.00416d10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.00416d10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.00415ec0
test al, al
pop ecx
jne 0x41691e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00416d3d
push edi
lea ecx, [ebp - 0x24]
call fcn.00416cb2
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00416cb2
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.00415edb
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00416d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00416d10
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00416cb2
mov ebx, eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x14
call fcn.00416cb2
lea ecx, [ebp - 0x44]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00416f5d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x16
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00416f5d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x17
call fcn.00416d3d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
call fcn.00416d10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00416d10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.00416d10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.00415ec0
test al, al
pop ecx
jne 0x41691e
lea eax, [ebp - 0x178]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00413c6a
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00416d3d
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x24]
push eax
call fcn.00416cb2
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.00416cb2
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.00415edb
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.00416d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.0041606a
pop ecx
mov ebx, 0x44a3cc
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00416cb2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00416cb2
push dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, eax
call fcn.00416f5d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00416f5d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.00416d3d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1c
call fcn.00416d10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
call fcn.00416d10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
call fcn.00416d10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.00415ec0
test al, al
pop ecx
jne 0x41691e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00416d3d
push edi
lea ecx, [ebp - 0x24]
call fcn.00416cb2
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00416cb2
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.00415edb
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00416d10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.0041606a
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00416cb2
mov esi, eax
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x20
call fcn.00416cb2
lea ecx, [ebp - 0x44]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00416f5d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x22
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00416f5d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x23
call fcn.00416d3d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x22
call fcn.00416d10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x21
call fcn.00416d10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.00416d10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00416d10
lea eax, [ebp - 0x14]
push eax
call fcn.00415ec0
test al, al
pop ecx
je 0x41692c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00416cf8
jmp 0x416939
mov ecx, dword [ebp + 8]
push 0x4540b0
call fcn.00416cb2
mov dword [ebp - 0x28], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00416d10
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret