Function at 0x445900
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov ebx, str.SumatraPDF_settings.txt
call fcn.00420e40
mov dword [esp + 0x1c], eax
call fcn.004558d0
xor ebx, ebx
mov edi, eax
cmp edx, ebx
jg 0x44593e
jl 0x445938
cmp edi, ebx
jae 0x44593e
mov dword [esp + 0x10], ebx
jmp 0x445999
xor eax, eax
cmp edi, edi
jne 0x445948
cmp eax, edx
je 0x44594e
mov dword [esp + 0x10], ebx
jmp 0x445999
lea eax, [edi + 2]
cmp eax, 2
jae 0x44595c
mov dword [esp + 0x10], ebx
jmp 0x445999
push eax
call fcn.00658d9b
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x445971
mov dword [esp + 0x10], ebx
jmp 0x445999
mov eax, dword [esp + 0x1c]
push esi
call fcn.00455a80
add esp, 4
test al, al
jne 0x445991
push esi
call fcn.00658a01
add esp, 4
mov dword [esp + 0x10], ebx
jmp 0x445999
mov word [edi + esi], bx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x14]
call fcn.00454d70
mov esi, dword [esp + 0x18]
push 1
push ebx
push esi
push 0x7e6774
call fcn.0045ebc0
add esp, 0x10
mov edi, eax
cmp esi, ebx
je 0x4459d1
mov ecx, esi
call fcn.004545f0
push esi
call fcn.006590fa
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call fcn.00658a01
add esp, 4
mov dword [0x9f48bc], edi
cmp edi, ebx
jne 0x4459ec
xor eax, eax
mov byte [eax], al
mov edi, dword [edi + 0xa4]
cmp edi, ebx
je 0x445a23
call fcn.004599b0
cmp eax, 0xffffffff
je 0x445a23
mov ecx, 0x92aaa0
cmp eax, ebx
jle 0x445a56
lea esp, [esp]
cmp byte [ecx], bl
je 0x445a19
inc ecx
cmp byte [ecx], bl
jne 0x445a14
dec eax
inc ecx
cmp eax, ebx
jg 0x445a10
cmp ecx, ebx
jne 0x445a56
call fcn.0044a2f0
mov edi, dword [0x9f48bc]
mov ecx, dword [edi + 0xa4]
push ecx
mov esi, eax
call fcn.00658a01
add esp, 4
cmp esi, ebx
je 0x445a4e
push esi
call fcn.00660bd4
add esp, 4
jmp 0x445a50
xor eax, eax
mov dword [edi + 0xa4], eax
mov edx, dword [esp + 0x1c]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x445a8e
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x9f48bc]
mov esi, dword [eax + 0xc4]
mov dword [eax + 0x104], edi
mov dword [eax + 0x108], ebx
call fcn.004463d0
fld dword [0x9ad8a8]
mov ecx, dword [0x9f48bc]
mov esi, dword [ecx + 0xc8]
push ecx
fstp dword [esp]
mov dword [ecx + 0x10c], eax
call fcn.004465f0
mov ecx, dword [0x9f48bc]
add esp, 4
fstp dword [ecx + 0x110]
call fcn.00445850
mov edx, dword [0x9f48bc]
mov esi, eax
sub esi, dword [edx + 0x100]
call fcn.00445850
mov edx, dword [0x9f48bc]
mov dword [edx + 0x100], eax
test esi, esi
jle 0x445b5c
mov ecx, dword [edx + 0xf0]
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx]
lea edi, [eax + edi*4]
mov dword [ecx + 0x54], eax
cmp edi, eax
jne 0x445b2a
xor eax, eax
jmp 0x445b30
lea edi, [eax + 4]
mov dword [ecx + 0x54], edi
test eax, eax
je 0x445b5c
mov eax, dword [eax]
mov ecx, esi
sar dword [eax + 0xc], cl
mov eax, dword [edx + 0xf0]
mov edi, dword [eax]
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 0x54]
lea edi, [ebx + edi*4]
cmp edi, ecx
je 0x445b5c
lea edi, [ecx + 4]
mov dword [eax + 0x54], edi
mov eax, ecx
test ecx, ecx
jne 0x445b34
mov edx, dword [edx + 0x70]
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
push 0x4458d0
push 4
push eax
push ecx
call fcn.00658b10
mov edi, dword [0x9f48bc]
mov esi, dword [edi + 0x70]
add esp, 0x10
cmp dword [esi], 0
jbe 0x445bcf
mov edx, dword [esi + 0xc]
fld dword [0x9adb18]
fcomp dword [edx]
fnstsw ax
test ah, 0x41
jne 0x445bcf
mov ecx, dword [esi]
cmp ecx, 1
jbe 0x445bb9
mov eax, edx
lea ecx, [ecx*4 - 4]
push ecx
lea edx, [eax + 4]
push edx
push eax
call fcn.006586a0
mov edi, dword [0x9f48bc]
add esp, 0xc
dec dword [esi]
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
mov dword [ecx + eax*4], 0
mov esi, dword [edi + 0x70]
cmp dword [esi], 0
ja 0x445b83
mov ecx, dword [edi + 0x70]
cmp dword [ecx], 0
jbe 0x445c1a
fld qword [0x9adb10]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx]
fld dword [eax + edx*4 - 4]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x445c18
lea esi, [edx - 1]
cmp esi, edx
jae 0x445c10
mov eax, dword [ecx + 0xc]
lea esi, [eax + esi*4]
lea eax, [eax + edx*4 - 4]
cmp esi, eax
je 0x445c08
mov edx, dword [eax]
mov dword [esi], edx
mov dword [eax], 0
dec dword [ecx]
mov ecx, dword [edi + 0x70]
cmp dword [ecx], 0
ja 0x445bdd
fstp st(0)
mov eax, dword [edi + 0xf0]
mov dword [0x9f56e0], eax
fld dword [edi + 0x38]
mov edi, dword [edi + 0x34]
fstp dword [esp + 0x14]
test edi, edi
je 0x445c40
push edi
call fcn.00661039
add esp, 4
mov esi, eax
jmp 0x445c42
xor esi, esi
mov ecx, dword [0x9f5c24]
push ecx
call fcn.00658a01
fld dword [esp + 0x18]
fmul qword [0x9ad7d0]
mov dword [0x9f5c24], esi
mov esi, dword [esp + 0x20]
add esp, 4
fstp dword [0x9e751c]
test esi, esi
je 0x445c88
lea edx, [esp + 0x20]
push edx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x445c88
test byte [esp + 0x20], 0x10
je 0x445c8d
call fcn.00445cc0
mov eax, dword [esp + 0x10]
push eax
call fcn.00658a01
add esp, 4
push esi
call fcn.00658a01
mov ecx, dword [esp + 0x48]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0065865c
mov esp, ebp
pop ebp
ret