Function at 0x1001d75d
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x10063daa
call fcn.10063438
sub esp, 0x90
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 1
lea ecx, [ebp - 0x54]
call fcn.1001a8b6
xor esi, esi
lea ecx, [ebp - 0x3c]
push 3
mov dword [ebp - 4], esi
call fcn.1001a8b6
xor edx, edx
inc edx
mov byte [ebp - 4], dl
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x2c], 0xedda5659
mov dword [ebp - 0x30], 0x4942beba
mov dword [ebp - 0x10], esi
jmp 0x1001d7b9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x54]
mov dword [eax + ecx*4], 0x55683450
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001d7a9
mov dword [ebp - 0x10], esi
jmp 0x1001d7d3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x3c]
mov dword [eax + ecx*4], 0xde713a47
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1001d7c3
mov eax, dword [ebp - 0x3c]
mov dword [eax], esi
mov dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], 0xae8b0121
push 2
call fcn.1001a8b6
xor edx, edx
mov dword [ebp - 0x10], edx
jmp 0x1001d80b
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x44], 0xfffffffe
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1001d7fd
mov dword [ebp - 0x10], edx
jmp 0x1001d826
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x70]
mov dword [eax + ecx*4], 0x3062a4b1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1001d816
mov dword [ebp - 0x10], edx
jmp 0x1001d83f
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x80], 0x7f6a191a
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x1001d831
dec dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
dec ecx
add eax, ecx
xor ecx, ecx
cmp eax, 7
setge cl
sub ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x70]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, 0xffff
mov eax, dword [ebp - 0x24]
imul eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0x4c7b
mov eax, dword [ebp - 0x3c]
setle cl
imul ecx, dword [eax]
mov eax, dword [ebp - 0x7c]
imul ecx, ecx, 0x7d64
sub ecx, eax
je 0x1001d908
mov byte [ebp - 0x15], dl
cmp byte [ebp - 0x15], dl
je 0x1001d8b5
push edx
push edx
call dword [sym.imp.USER32.dll_LoadMenuW]
xor edx, edx
cmp dword [esi + 4], edx
je 0x1001dabe
lea ecx, [ebp - 0x70]
call fcn.1001a938
lea ecx, [ebp - 0x3c]
call fcn.1001a938
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.1001a938
push 4
lea ecx, [ebp - 0x8c]
call fcn.1001a8b6
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x305aba9a
mov dword [ebp - 0x10], 0
jmp 0x1001dae4
xor esi, esi
mov dword [ebp - 0x28], 0xffffffff
inc esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x24], edx
jne 0x1001d92c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x54]
cmp dword [eax + ecx*4], edx
jne 0x1001d92c
mov esi, edx
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp eax, 0x5452
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp ecx, 0xbe945d4
je 0x1001d955
cmp dword [ebp - 0x24], 0
jne 0x1001d955
xor edx, edx
jmp 0x1001d958
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x74]
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
sub ecx, dword [ebp - 0x40]
cmp ecx, 0x84ebf8c3
sbb eax, eax
xor ecx, ecx
neg eax
cmp esi, eax
mov eax, dword [ebp - 0x2c]
sete cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x28]
setl dl
xor esi, esi
sub edx, eax
jne 0x1001d9a9
mov eax, dword [ebp - 0x3c]
cmp dword [eax], esi
jne 0x1001d9a9
xor eax, eax
inc eax
jmp 0x1001d9ab
mov eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
sub eax, 0x2b4b20f9
neg eax
sbb eax, eax
add eax, 0xfffa
cmp eax, dword [ebp - 0x28]
je 0x1001d9cd
cmp dword [ebp - 0x28], esi
jne 0x1001d9cd
mov ecx, esi
jmp 0x1001d9d0
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x10]
xor eax, eax
cmp ecx, 0xfffffff9
setle al
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
imul eax, eax, 3
add eax, 0x5e6b711a
cmp eax, dword [edx + 4]
mov eax, dword [ebp - 0x10]
setle cl
add eax, ecx
je 0x1001da74
mov dword [ebp - 0x1c], 0xbf2dcfcb
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], esi
jne 0x1001da2a
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x54]
imul edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x24]
sub edx, eax
xor eax, eax
cmp edx, 0xffffffff
mov edx, dword [ebp - 0x1c]
setle al
sub edx, eax
neg edx
sbb edx, edx
inc edx
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x54]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, dword [eax]
sete cl
add ecx, 0x1a1ccc58
mov dword [ebp - 0x14], ecx
jmp 0x1001dabe
mov dword [ebp - 0x14], esi
jmp 0x1001da87
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x48], 0x400d43e6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x1001da79
mov eax, dword [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
cmp eax, 1
mov eax, dword [ebp - 0x48]
setle cl
neg eax
cmp eax, ecx
je 0x1001daae
cmp dword [edx + 4], esi
je 0x1001daae
xor ecx, ecx
inc ecx
jmp 0x1001dab0
mov ecx, esi
mov eax, dword [ebp - 0x30]
sub ecx, eax
cmp ecx, 1
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x70]
call fcn.1001a938
mov eax, dword [ebp - 0x3c]
dec dword [eax]
jns 0x1001d7de
jmp 0x1001d8c6
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x64], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x1001dad6
mov dword [ebp - 0x10], 0
jmp 0x1001db06
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], 5
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x1001daf3
mov esi, dword [ebp - 0x8c]
mov dword [esi + 8], 3
mov dword [ebp - 0x14], 0
jmp 0x1001db33
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x9c], 9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1001db22
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x1001db49
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov eax, dword [esi + 8]
xor edx, edx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x64]
mov eax, dword [ebp - 0x20]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x64]
mov eax, dword [esi + 8]
mov ecx, dword [ebp + eax*4 - 0x64]
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
mov eax, dword [esi + 8]
setge dl
mov eax, dword [ebp + eax*4 - 0x64]
sub edx, eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x90]
dec eax
neg eax
sbb eax, eax
inc eax
add eax, dword [esi + 0xc]
dec dword [esi + 8]
mov dword [ebp - 0x30], eax
jns 0x1001db19
lea ecx, [ebp - 0x8c]
call fcn.1001a938
mov dword [edi], 0
jmp 0x1001dbc8
mov ecx, dword [edi]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x55683450
inc dword [edi]
cmp dword [edi], 1
jl 0x1001dbbb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret