Function at 0x422320
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450130
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x463184]
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
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], ebx
call fcn.0043c559
mov edi, dword [eax]
add edi, 4
mov esi, dword [edi]
test esi, esi
je 0x422484
mov ebx, edi
nop
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422385
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x4223c0
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x2d
je 0x4223a8
cmp ecx, 0x2f
jne 0x4223c0
lea eax, [esi + 2]
push 0x45bcdc
push eax
lfence
call fcn.00430b63
add esp, 8
test eax, eax
je 0x42243d
mov dword [ebp - 0x21c], ebx
mov edx, str.language
test esi, esi
je 0x422425
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4223d4
sub ecx, ebx
sar ecx, 1
cmp ecx, 2
jbe 0x422425
cmp word [esi], 0x2d
jne 0x422425
cmp word [esi + 2], 0x2d
jne 0x422425
lfence
cmp word [str.language], 0x2d
jne 0x422414
cmp word [0x45bbae], 0x2d
mov eax, 0x45bbb0
cmovne eax, edx
mov edx, eax
push edx
lea eax, [esi + 4]
push eax
call fcn.00430b63
add esp, 8
test eax, eax
je 0x422437
mov esi, dword [edi + 4]
add edi, 4
mov ebx, edi
test esi, esi
jne 0x422380
jmp 0x42243f
mov ebx, dword [ebp - 0x21c]
mov esi, dword [ebx]
mov ebx, dword [ebp - 0x220]
test esi, esi
je 0x422484
mov esi, dword [edi + 4]
test esi, esi
je 0x422484
push 0x2c
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.0042d630
add esp, 0xc
lea ecx, [ebp - 0x258]
mov edx, esi
call fcn.00428640
test al, al
je 0x422484
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x21c], esi
test esi, esi
jne 0x4224d3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0042d630
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
call fcn.00428af0
mov esi, eax
mov dword [ebp - 0x21c], esi
test esi, esi
jne 0x4224d3
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov dword [ebp - 0x21c], esi
push esi
push 7
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x42256d
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x22c]
push eax
push 0x4225a0
push 7
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x22c]
call fcn.00428800
mov esi, dword [ebp - 0x21c]
test al, al
mov edx, dword [ebp - 0x22c]
mov ecx, 0x409
cmove esi, ecx
test edx, edx
je 0x42256d
mov ecx, dword [ebp - 0x224]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x422563
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42258b
push ecx
push edx
call fcn.0042b073
add esp, 8
mov eax, esi
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.0042b03b
mov esp, ebp
pop ebp
ret
call fcn.00430964
int3