Function at 0x475331
Capabilities:
Check if file exists
Get geographical location

Disassembly:
push 0x2dc
mov eax, 0x5a0a15
call fcn.00417e75
mov edi, ecx
mov dword [ebp - 0x2c8], edi
lea esi, [edi + 4]
xor ebx, ebx
mov dword [ebp - 0x2c4], ebx
push esi
mov dword [ebp - 0x2d0], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
mov dword [ebp - 0x2cc], eax
cmp byte [edi + 0x21], bl
jne 0x47560b
cmp dword [edi + 0x28], ebx
je 0x47560b
push 0x20a
mov byte [edi + 0x21], al
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x230]
push 0x105
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x475608
cmp eax, 0x105
jae 0x475608
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x260]
call fcn.004102c0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 0x5c
cmovae eax, dword [ebp - 0x260]
push 0xffffffffffffffff
push dword [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
call fcn.004759a3
add esp, 0x10
mov dword [ebp - 0x238], ebx
xor ecx, ecx
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], cx
lea ecx, [ebp - 0x248]
push eax
push ebx
lea eax, [ebp - 0x260]
push eax
call fcn.004759d9
mov byte [ebp - 0x2cc], bl
lea eax, [ebp - 0x248]
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x260]
push eax
call fcn.00475a1b
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x475464
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x248]
call fcn.00475a80
pop ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
mov edi, dword [ebp - 0x2c8]
push eax
push 3
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4755fd
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x248]
call fcn.004102c0
mov byte [ebp - 4], 2
mov eax, ebx
mov dword [ebp - 0x2c4], ebx
push dword [eax*8 + 0x5c2664]
lea eax, [ebp - 0x24]
push eax
call fcn.0040d741
pop ecx
test eax, eax
mov eax, dword [ebp - 0x2c4]
pop ecx
je 0x4754d2
inc eax
mov dword [ebp - 0x2c4], eax
cmp eax, 8
jb 0x4754a8
jmp 0x4754e4
push dword [eax*8 + 0x5c2660]
lea ecx, [ebp - 0x248]
call fcn.00440227
mov eax, 0x5c1238
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2cc], eax
push eax
lea ecx, [ebp - 0x248]
call fcn.0045e90a
test eax, eax
je 0x475526
mov eax, dword [ebp - 0x2cc]
inc dword [ebp - 0x2c4]
add eax, 0x1e
mov dword [ebp - 0x2cc], eax
cmp eax, 0x5c2660
jl 0x4754f5
jmp 0x4755eb
imul edi, dword [ebp - 0x2c4], 0x1e
mov ecx, dword [ebp - 0x2c8]
push str.Locale_
lea eax, [edi + 0x5c1238]
mov dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x260]
call fcn.00475ae1
lea eax, [edi + 0x5c1240]
push eax
lea ecx, [ebp - 0x260]
call fcn.00475ae1
push str._brdlang32.
lea ecx, [ebp - 0x260]
call fcn.00475ae1
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
call fcn.0040f730
lea eax, [ebp - 0x260]
push ebx
push eax
call fcn.004303e0
pop ecx
pop ecx
test al, al
jne 0x4755e5
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4755e5
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 2
cmovae eax, dword [ebp - 0x260]
push ebx
push eax
call fcn.00409830
mov ebx, eax
mov edi, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x248]
call fcn.00475a47
test ebx, ebx
je 0x4755fd
mov dword [edi + 0x1c], ebx
lea ecx, [ebp - 0x260]
jmp 0x47598a
xor eax, eax
inc eax
cmp byte [edi + 0x20], 0
jne 0x47598f
push str.SoftwareAdobeAcrobat_ReaderDCLanguage
lea ecx, [ebp - 0x2a8]
mov byte [edi + 0x20], al
call fcn.004102c0
mov ecx, dword [0x634a80]
mov byte [ebp - 4], 4
call fcn.004a65f8
test al, al
je 0x47564b
push str.SoftwareAdobeAdobe_AcrobatDCLanguage
lea ecx, [ebp - 0x2a8]
call fcn.00440227
push str.current_
lea ecx, [ebp - 0x2a8]
call fcn.00475ae1
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040bb30
push 8
pop edi
cmp dword [ebp - 0x294], edi
lea eax, [ebp - 0x2a8]
push 0x20019
cmovae eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x1c]
push eax
push 0x80000001
mov byte [ebp - 4], 5
call fcn.0040bb60
test eax, eax
je 0x4756ca
cmp dword [ebp - 0x294], edi
lea eax, [ebp - 0x2a8]
push 0x20019
cmovae eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x1c]
push eax
push 0x80000002
call fcn.0040bb60
test eax, eax
jne 0x47597c
xor eax, eax
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 7
push eax
push 0x5b6ea8
lea ecx, [ebp - 0x1c]
call fcn.0040bc60
test eax, eax
jne 0x475944
push 7
pop ecx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ecx
mov word [ebp - 0x248], ax
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ecx
mov word [ebp - 0x278], ax
cmp dword [ebp - 0x27c], edi
lea ecx, [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push ecx
mov ecx, dword [ebp - 0x2c8]
push eax
call fcn.004a6771
test al, al
je 0x4758ed
cmp dword [ebp - 0x238], 0
je 0x4758ed
cmp dword [ebp - 0x268], 0
je 0x4758ed
push 0x104
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4758ed
cmp eax, 0x104
jae 0x4758ed
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4758ed
push 0x5c10cc
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4758ed
cmp dword [ebp - 0x234], edi
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4758ed
push str.brdlang32
lea ecx, [ebp - 0x2c0]
call fcn.004102c0
cmp dword [ebp - 0x264], edi
lea eax, [ebp - 0x278]
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x2c0]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040f730
cmp dword [ebp - 0x2ac], edi
lea eax, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4758e2
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.004102c0
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0xb
push ebx
push eax
mov dword [ebp - 0x2c4], 1
call fcn.004303e0
pop ecx
pop ecx
test al, al
jne 0x4758a3
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4758a9
mov byte [ebp - 0x2cc], bl
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xa
call fcn.00475a47
cmp byte [ebp - 0x2cc], 0
je 0x4758e2
push 2
push ebx
lea eax, [ebp - 0x230]
push eax
call fcn.00409830
mov ecx, eax
test ecx, ecx
je 0x4758e2
mov eax, dword [ebp - 0x2c8]
mov dword [eax + 0x1c], ecx
lea ecx, [ebp - 0x2c0]
call fcn.00475a47
mov eax, dword [ebp - 0x264]
cmp eax, edi
jb 0x47590c
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x278]
call fcn.00475a80
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x268], ebx
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x264], 7
cmp eax, edi
jb 0x475944
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x248]
call fcn.00475a80
pop ecx
pop ecx
mov eax, dword [ebp - 0x27c]
cmp eax, edi
jb 0x475963
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x290]
call fcn.00475a80
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
lea ecx, [ebp - 0x1c]
call fcn.0040c880
lea ecx, [ebp - 0x2a8]
call fcn.00475a47
push esi
mov dword [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041803a
ret