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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 4]
xor ebx, ebx
mov dword [ebp - 0x2c8], ebx
push eax
mov dword [ebp - 0x2c0], edi
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x20], bl
jne 0x45e37d
mov byte [edi + 0x20], 1
cmp dword [edi + 0x24], ebx
je 0x45e05b
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x45e05b
cmp eax, esi
jae 0x45e05b
xor eax, eax
push 7
pop esi
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
call fcn.00418650
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x2c0], 0x5c
call fcn.00427880
push eax
xor ecx, ecx
push ebx
lea eax, [ebp - 0x22c]
mov word [ebp - 0x248], cx
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], ebx
call fcn.00406960
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00406280
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.00443e70
push 0xa
lea eax, [ebp - 0x278]
push eax
push 3
push dword [edi + 0x24]
mov dword [ebp - 0x2c0], ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45e050
xor eax, eax
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], ebx
call fcn.00418650
xor esi, esi
push dword [esi*8 + 0x511eac]
lea eax, [ebp - 0x278]
push eax
call fcn.004086e6
pop ecx
pop ecx
test eax, eax
je 0x45df3e
inc esi
cmp esi, 8
jb 0x45df1d
jmp 0x45df50
push dword [esi*8 + 0x511ea8]
lea ecx, [ebp - 0x248]
call fcn.00418650
xor esi, esi
mov dword [ebp - 0x2c4], 0x510a80
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x248]
call fcn.00445c10
test eax, eax
je 0x45df8a
add dword [ebp - 0x2c4], 0x1e
inc esi
cmp dword [ebp - 0x2c4], 0x511ea8
jl 0x45df5c
jmp 0x45e035
imul esi, esi, 0x1e
lea eax, [esi + 0x510a80]
push str.Locale_
lea ecx, [ebp - 0x22c]
mov dword [edi + 0x28], eax
call fcn.00429a40
lea eax, [esi + str.de_de]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00429a40
push str._brdlang32.
lea ecx, [ebp - 0x22c]
call fcn.00429a40
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040e6b0
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.00416c50
pop ecx
pop ecx
test al, al
jne 0x45e035
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x45e005
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e035
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x45e025
lea eax, [ebp - 0x22c]
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x2c0], eax
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.00443e70
mov eax, dword [ebp - 0x2c0]
cmp eax, ebx
je 0x45e050
mov dword [edi + 0x1c], eax
lea ecx, [ebp - 0x22c]
jmp 0x45e375
push 7
pop esi
xor eax, eax
push str.SoftwareAdobeAcrobat_Reader11.0Language
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov word [ebp - 0x264], ax
call fcn.00418650
mov ecx, dword [0x5513c0]
call fcn.0045d994
test al, al
je 0x45e0a2
push str.SoftwareAdobeAdobe_Acrobat11.0Language
lea ecx, [ebp - 0x264]
call fcn.00418650
push str.current_
lea ecx, [ebp - 0x264]
call fcn.00429a40
lea ecx, [ebp - 0x2d0]
call fcn.0040fa60
cmp dword [ebp - 0x250], 8
mov eax, dword [ebp - 0x264]
jae 0x45e0d2
lea eax, [ebp - 0x264]
push 0x20019
push eax
push 0x80000001
lea ecx, [ebp - 0x2d0]
call fcn.0040fa70
test eax, eax
je 0x45e11f
cmp dword [ebp - 0x250], 8
mov eax, dword [ebp - 0x264]
jae 0x45e101
lea eax, [ebp - 0x264]
push 0x20019
push eax
push 0x80000002
lea ecx, [ebp - 0x2d0]
call fcn.0040fa70
test eax, eax
jne 0x45e364
xor eax, eax
mov word [ebp - 0x29c], ax
lea eax, [ebp - 0x29c]
push eax
push 0x50d97c
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], ebx
call fcn.0041fac0
test eax, eax
jne 0x45e356
cmp dword [ebp - 0x288], 8
mov word [ebp - 0x280], ax
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], ebx
jae 0x45e18e
lea eax, [ebp - 0x29c]
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x280]
push ecx
push eax
mov ecx, edi
call fcn.0045da31
test al, al
je 0x45e33a
cmp dword [ebp - 0x270], ebx
je 0x45e33a
cmp dword [ebp - 0x238], ebx
je 0x45e33a
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x45e33a
cmp eax, edi
jae 0x45e33a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x45e33a
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.locale
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
je 0x45e33a
cmp dword [ebp - 0x26c], 8
mov eax, dword [ebp - 0x280]
jae 0x45e22e
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
je 0x45e33a
xor eax, eax
push 0x510978
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x22c], ax
call fcn.00418650
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040e6b0
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x45e28f
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
je 0x45e32c
xor eax, eax
mov word [ebp - 0x2b8], ax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a8], ebx
call fcn.00418650
lea eax, [ebp - 0x2b8]
push ebx
push eax
call fcn.00416c50
pop ecx
pop ecx
test al, al
jne 0x45e2f3
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x2b9], 1
test eax, eax
jne 0x45e2f9
mov byte [ebp - 0x2b9], bl
push ebx
push 1
lea ecx, [ebp - 0x2b8]
call fcn.00443e70
cmp byte [ebp - 0x2b9], bl
je 0x45e32c
push 2
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
je 0x45e32c
mov ecx, dword [ebp - 0x2c0]
mov dword [ecx + 0x1c], eax
push ebx
push 1
lea ecx, [ebp - 0x22c]
call fcn.00443e70
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.00443e70
push ebx
push 1
lea ecx, [ebp - 0x280]
call fcn.00443e70
push ebx
push 1
lea ecx, [ebp - 0x29c]
call fcn.00443e70
lea ecx, [ebp - 0x2d0]
call fcn.0040aa70
lea ecx, [ebp - 0x264]
push ebx
push 1
call fcn.00443e70
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
leave
ret