Function at 0x4212c0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d168
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5a7464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00422ae0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x409
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 2
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x404
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 3
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x421
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x41f
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 5
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x407
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 6
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x40c
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x40a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x80a
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0xc0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x100a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x140a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x180a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x1c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x200a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x240a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x280a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x2c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x300a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x340a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x380a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x3c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x400a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x440a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x480a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x4c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x500a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 8
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x416
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 9
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x411
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 0xa
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x412
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 0xb
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x415
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 0xc
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x413
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 0xc
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x813
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
mov dword [ebp - 0x1c], 0xd
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x410
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.004230b0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edx, dword [ebp - 0x18]
movzx esi, ax
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x4217a4
cmp dword [ecx + 0x10], esi
jge 0x421791
mov ecx, dword [ecx + 8]
jmp 0x421795
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x421787
cmp eax, edx
je 0x4217a4
cmp esi, dword [eax + 0x10]
jge 0x4217a6
mov eax, edx
cmp eax, edx
je 0x4217af
mov esi, dword [eax + 0x14]
jmp 0x4217b1
xor esi, esi
push edx
push dword [edx]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421f90
push dword [ebp - 0x18]
call fcn.00506ca0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00506c20
mov esp, ebp
pop ebp
ret