Function at 0x64fdc4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd68
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x270]
mov edx, dword [0x41f26c]
call fcn.0040c734
xor eax, eax
push ebp
push 0x6502a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x280]
mov ecx, 0x6502bc
mov edx, dword [0x679e10]
call fcn.0040c1e8
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x270]
mov edx, 0x1ff
call fcn.00428dbc
test eax, eax
jne 0x64feb9
mov eax, dword [ebp - 0x25c]
mov ebx, eax
test ebx, ebx
je 0x64fe72
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x284]
push eax
mov ecx, ebx
sub ecx, 6
mov edx, 1
mov eax, dword [ebp - 0x25c]
call fcn.0040c358
mov edx, dword [ebp - 0x284]
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x270]
call fcn.00428e0c
test eax, eax
je 0x64fe61
lea eax, [ebp - 0x270]
call fcn.00428e30
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x64ff06
mov eax, dword [0x679de0]
call fcn.00409670
mov eax, dword [0x679e60]
call fcn.00409670
mov eax, dword [0x679e68]
call fcn.00409670
mov eax, 4
call fcn.0064ea5c
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
je 0x650259
mov byte [ebp - 0x275], 0
push 0
mov ecx, 0x6502dc
mov edx, 0x650310
mov eax, dword [0x679de0]
mov ebx, dword [eax]
call dword [ebx + 0x20]
test al, al
je 0x6500f4
push 0
mov ecx, 0x650328
mov edx, 0x650310
mov eax, dword [0x679de0]
mov ebx, dword [eax]
call dword [ebx + 0x10]
sub eax, 1
jb 0x64ff6a
je 0x64ff78
dec eax
je 0x64ff86
jmp 0x64ff92
call sub.kernel32.dll_GetUserDefaultUILanguage
mov word [ebp - 0x278], ax
jmp 0x64ff92
call sub.kernel32.dll_GetSystemDefaultLangID
mov word [ebp - 0x278], ax
jmp 0x64ff92
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov word [ebp - 0x278], ax
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6500cd
inc eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x274], 0
xor eax, eax
push ebp
push 0x6500b1
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x679e10]
push 0x650350
lea ecx, [ebp - 0x28c]
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [ebp - 0x274]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x28c]
push 0x650360
lea eax, [ebp - 0x288]
mov edx, 4
call fcn.0040c270
mov ecx, dword [ebp - 0x288]
mov dl, 1
mov eax, dword [0x50e494]
call fcn.00511fa4
mov dword [0x679de4], eax
push 0
mov ecx, 0x65037c
mov edx, 0x650390
mov eax, dword [0x679de4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
movzx edx, word [ebp - 0x278]
cmp eax, edx
jne 0x65009d
lea ecx, [ebp - 0x290]
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [ebp - 0x274]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x290]
mov eax, 0x679e44
call fcn.0040b814
mov byte [ebp - 0x275], 1
mov eax, dword [0x679de4]
call fcn.00409670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6500cd
mov eax, dword [0x679de4]
call fcn.00409670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6500bb
inc dword [ebp - 0x274]
dec dword [ebp - 0x27c]
jne 0x64ffc2
cmp byte [ebp - 0x275], 0
je 0x6500f4
push 0
mov ecx, 0x6503a8
mov edx, 0x650310
mov eax, dword [0x679de0]
mov ebx, dword [eax]
call dword [ebx + 0x20]
test al, al
jne 0x650259
cmp byte [0x679dee], 0
jne 0x650259
mov eax, 0x6503dc
call fcn.006368fc
test al, al
jne 0x650259
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x400]
call fcn.00550b88
call fcn.0063764c
mov eax, dword [0x679da4]
cmp dword [eax + 0x7c], 0xffffff
je 0x650148
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x400]
xor edx, edx
call fcn.00629a74
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x650259
inc eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x274], 0
xor eax, eax
push ebp
push 0x65023d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [0x679da4]
push eax
push 0x64ee20
push 0
push 0x6503fc
lea ecx, [ebp - 0x294]
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [ebp - 0x274]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x294]
xor ecx, ecx
xor edx, edx
call fcn.005f2aec
mov edx, eax
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x3fc]
mov eax, dword [eax + 0x44]
call fcn.005ef90c
lea ecx, [ebp - 0x298]
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 0x2c0]
mov edx, dword [ebp - 0x274]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x298]
call fcn.00637120
push eax
mov eax, dword [0x679da4]
mov eax, dword [eax + 0x3fc]
mov ebx, dword [eax + 0x44]
mov eax, ebx
call fcn.005ef498
mov edx, eax
dec edx
mov eax, ebx
call fcn.005ef4a8
pop edx
call fcn.005ef4f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x650247
inc dword [ebp - 0x274]
dec dword [ebp - 0x27c]
jne 0x650178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6502a7
lea eax, [ebp - 0x298]
mov edx, 5
call fcn.0040b484
lea eax, [ebp - 0x284]
call fcn.0040b424
lea eax, [ebp - 0x280]
call fcn.0040b424
lea eax, [ebp - 0x270]
mov edx, dword [0x41f26c]
call fcn.0040cb00
pop eax
jmp eax