Function at 0x51df366a
Capabilities:
Identify system language via api

Disassembly:
mov ecx, dword [0x51e8b69c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ebp
push edi
xor edi, edi
cmp ecx, edi
mov ebp, 0x411
jne 0x51e2fe44
call ebx
cmp ax, bp
je 0x51df38de
call ebx
cmp ax, 0x404
je 0x51df38de
call ebx
cmp ax, 0x412
je 0x51df38de
call ebx
cmp ax, 0x804
mov ecx, dword [0x51e8b69c]
je 0x51df36d3
cmp dword [0x51e8b568], 2
jne 0x51e2fe55
cmp dword [0x51e8a118], 4
jbe 0x51e2fe55
cmp ecx, edi
push esi
mov esi, dword [esp + 0x14]
mov dword [esi], fcn.51e5698a
mov dword [esi + 4], fcn.51e5659a
mov dword [esi + 8], fcn.51e56579
mov dword [esi + 0xc], fcn.51e56932
mov dword [esi + 0x10], fcn.51e55b84
mov dword [esi + 0x14], 0x51e55f44
mov dword [esi + 0x18], fcn.51e56703
mov dword [esi + 0x1c], fcn.51e55fd8
mov dword [esi + 0x90], fcn.51e5646c
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0x51e5355a
mov dword [esi + 0x2c], 0x51e54b08
mov dword [esi + 0x30], fcn.51e50e72
mov dword [esi + 0x34], 0x51e54f36
mov dword [esi + 0x38], 0x51e559f4
mov dword [esi + 0x3c], 0x51e50ebe
mov dword [esi + 0x40], 0x51e50f4f
mov dword [esi + 0x44], 0x51e51124
mov dword [esi + 0x4c], 0x51e5116d
mov dword [esi + 0xd4], 0x51e511eb
mov dword [esi + 0x54], 0x51e51325
mov dword [esi + 0x58], fcn.51e50fad
mov dword [esi + 0x5c], fcn.51e50f9d
mov dword [esi + 0x60], 0x51e514b9
mov dword [esi + 0x64], 0x51e51554
mov dword [esi + 0x68], 0x51e51591
mov dword [esi + 0x6c], 0x51e51a7c
mov dword [esi + 0x70], 0x51e5649b
mov dword [esi + 0x74], 0x51e51b4f
mov dword [esi + 0x7c], 0x51e52215
mov dword [esi + 0xac], 0x51e526a0
mov dword [esi + 0x80], fcn.51e5728e
mov dword [esi + 0x84], 0x51e52242
mov dword [esi + 0x88], 0x51e522a6
mov dword [esi + 0x8c], 0x51e5238a
mov dword [esi + 0x94], 0x51e5244b
mov dword [esi + 0x98], 0x51e52474
mov dword [esi + 0x9c], 0x51e524d4
mov dword [esi + 0xa0], 0x51e52523
mov dword [esi + 0xa4], 0x51e525fd
mov dword [esi + 0xa8], 0x51e52588
mov dword [esi + 0x50], 0x51e52891
mov dword [esi + 0xfc], fcn.51e55a3d
jne 0x51e2ff39
call ebx
mov ecx, dword [0x51e8b69c]
sub ax, bp
neg ax
sbb eax, eax
inc eax
cmp eax, edi
jne 0x51e2ff5d
cmp ecx, edi
jne 0x51e2ff49
call ebx
mov ecx, dword [0x51e8b69c]
sub ax, 0x412
neg ax
sbb eax, eax
inc eax
cmp eax, edi
jne 0x51e2ff5d
mov dword [esi + 0xbc], edi
cmp ecx, edi
jne 0x51e2ff6c
call ebx
mov ecx, dword [0x51e8b69c]
sub ax, 0x404
neg ax
sbb eax, eax
inc eax
cmp eax, edi
jne 0x51e2ff80
mov dword [esi + 0xb0], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
cmp ecx, edi
jne 0x51e2ffc1
call ebx
sub ax, 0x412
neg ax
sbb eax, eax
inc eax
neg eax
sbb eax, eax
and eax, fcn.51e1869e
mov dword [esi + 0x48], eax
pop esi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [0x51e8b69c]
jmp 0x51df36d3
cmp dword [ecx + 0x53b8], edi
jne 0x51df36d3
jmp 0x51df36b9
mov eax, dword [esp + 0x10]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x90], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0xfc], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], edi
mov dword [eax + 0x4c], edi
mov dword [eax + 0xd4], edi
mov dword [eax + 0x54], edi
mov dword [eax + 0x58], edi
mov dword [eax + 0x5c], edi
mov dword [eax + 0x60], edi
mov dword [eax + 0x64], edi
mov dword [eax + 0x68], edi
mov dword [eax + 0x6c], edi
mov dword [eax + 0x70], edi
mov dword [eax + 0x74], 0x51e51b4f
mov dword [eax + 0x7c], edi
mov dword [eax + 0xac], edi
mov dword [eax + 0x80], edi
mov dword [eax + 0x84], edi
mov dword [eax + 0x88], edi
mov dword [eax + 0x8c], edi
mov dword [eax + 0x94], edi
mov dword [eax + 0x98], edi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa0], edi
mov dword [eax + 0xa4], edi
mov dword [eax + 0xa8], edi
mov dword [eax + 0x50], edi
mov dword [eax + 0xbc], edi
mov dword [eax + 0xb0], edi
mov dword [eax + 0xc0], edi
mov dword [eax + 0xc8], edi
mov dword [eax + 0xd8], edi
mov dword [eax + 0xf4], edi
mov dword [eax + 0xf8], edi
mov dword [eax + 0x48], edi
jmp 0x51df38da
xor eax, eax
cmp dword [ecx + 0x53a8], ebp
sete al
jmp 0x51df3843
xor eax, eax
cmp dword [ecx + 0x53a8], 0x412
sete al
jmp 0x51df3865
mov dword [esi + 0xbc], 0x51e5285b
jmp 0x51df3873
xor eax, eax
cmp dword [ecx + 0x53a8], 0x404
sete al
jmp 0x51df388d
mov dword [esi + 0xb0], 0x51e527d2
mov dword [esi + 0xc0], fcn.51e5046a
mov dword [esi + 0xc8], fcn.51e50296
mov dword [esi + 0xd8], 0x51e502d1
mov dword [esi + 0xf4], 0x51e528f5
mov dword [esi + 0xf8], 0x51e52ac4
jmp 0x51df38b9
xor eax, eax
cmp dword [ecx + 0x53a8], 0x412
sete al
jmp 0x51df38cd