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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f3a7
mov eax, dword fs:[0]
push eax
sub esp, 0xe7c
mov eax, dword [0x58cfe0]
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
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x258]
push 0x104
push eax
call esi
push 0x104
lea eax, [ebp - 0x258]
push eax
push dword [0x550988]
push eax
call fcn.0048f340
lea eax, [ebp - 0x258]
push eax
call fcn.004b31d0
add esp, 0x14
neg eax
sbb edi, edi
lea eax, [ebp - 0x258]
and edi, 1
push 0x104
push eax
call esi
push 0x104
lea eax, [ebp - 0x258]
push eax
push dword [0x55098c]
push eax
call fcn.0048f340
lea eax, [ebp - 0x258]
push eax
call fcn.004b31d0
push dword [0x550960]
neg eax
sbb esi, esi
and esi, edi
call fcn.004b3600
push dword [0x55096c]
neg eax
sbb edi, edi
and edi, esi
call fcn.004b3600
add esp, 0x1c
test eax, eax
je 0x4b2f19
test edi, edi
je 0x4b2f19
mov eax, 1
jmp 0x4b31b0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b2f2e
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xe84], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x658]
push 0x400
push 0
push eax
call fcn.00509680
add esp, 0xc
lea eax, [ebp - 0x50]
push 0x20
push eax
push 9
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x10
lea eax, [ebp - 0xe7c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0051726f
movzx edi, ax
lea eax, [ebp - 0x258]
push 0x104
push eax
push 0
mov dword [ebp - 0xe80], edi
call fcn.004a5410
add esp, 0x18
test eax, eax
je 0x4b3158
xor ebx, ebx
cmp ebx, 1
jne 0x4b2fbd
test di, di
je 0x4b3158
xor edi, edi
mov dword [ebp - 0xe80], edi
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0xc70]
push eax
push 0x104
lea eax, [ebp - 0xe78]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.005154ca
push edi
push 0
push 0
lea eax, [ebp - 0xe88]
push 0xffffffffffffffff
push eax
call fcn.004a1240
add esp, 0x38
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe84]
push eax
call fcn.00406a00
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0xe88]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b3031
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xe84]
lea eax, [ebp - 0x860]
push 0x104
push eax
push 0x104
lea eax, [ebp - 0xa68]
push eax
push 0
push 0
push 0
push 0
push esi
call fcn.005154ca
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0xc70]
push eax
lea eax, [ebp - 0xe78]
push eax
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.00514d18
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00415760
add esp, 0x44
test eax, eax
je 0x4b314e
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4b3148
push 0x58f378
push 0x3066
push 0x200
lea eax, [ebp - 0x658]
push eax
push edi
call fcn.004a5960
add esp, 0x14
cmp word [ebp - 0x658], 0
je 0x4b3137
push 0x58f378
push 0x3015
push 0x104
lea eax, [ebp - 0x258]
push eax
push edi
call fcn.004a5960
add esp, 0x14
test eax, eax
je 0x4b3137
push 0x556a00
lea eax, [ebp - 0x658]
push 0x200
push eax
call fcn.0051c6b0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x658]
push 0x200
push eax
call fcn.0051c6b0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [ebp - 0x658], 0
jne 0x4b3180
mov edi, dword [ebp - 0xe80]
inc ebx
cmp ebx, 2
jl 0x4b2fa7
cmp word [ebp - 0x658], 0
jne 0x4b3180
push 0x58f378
push str.Please_restart_your_computer_and_run__s_Setup_again.
lea eax, [ebp - 0x658]
push 0x200
push eax
call fcn.004183f0
add esp, 0x10
lea eax, [ebp - 0x658]
push eax
call fcn.00489f90
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b31ae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.00507257
mov esp, ebp
pop ebp
ret