Function at 0x1004d2dd
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0xfffffff7
mov dword [ebp - 8], 4
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x98], 0xfffffff6
mov dword [ebp - 0x18], 0
jmp 0x1004d321
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004d334
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x68], 0x845925f8
jmp 0x1004d31a
xor eax, eax
inc eax
je 0x1004d489
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x28], eax
je 0x1004d355
mov dword [ebp - 0x80], 1
jmp 0x1004d359
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x80]
jl 0x1004d36a
mov dword [ebp - 0x50], 1
jmp 0x1004d36e
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jl 0x1004d382
mov dword [ebp - 0x40], 1
jmp 0x1004d386
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x5e0b
je 0x1004d39b
cmp dword [ebp - 8], 0
jne 0x1004d39b
and dword [ebp - 0x74], 0
jmp 0x1004d3a2
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x74], eax
jge 0x1004d3b3
mov dword [ebp - 0x48], 1
jmp 0x1004d3b7
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x48], eax
je 0x1004d3c8
mov dword [ebp - 0x7c], 1
jmp 0x1004d3cc
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x7c], eax
jg 0x1004d3e0
mov dword [ebp - 0x84], 1
jmp 0x1004d3e7
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 8]
mov dword [ebp - 8], 0xffff
cmp dword [ebp - 8], 0
je 0x1004d40c
cmp dword [ebp - 8], 0
je 0x1004d40c
mov dword [ebp - 0x78], 1
jmp 0x1004d410
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0x7ab8
jge 0x1004d422
mov dword [ebp - 0x58], 1
jmp 0x1004d426
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x58]
jg 0x1004d43a
mov dword [ebp - 0x70], 1
jmp 0x1004d43e
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x37d660f1
jne 0x1004d450
mov dword [ebp - 0x60], 1
jmp 0x1004d454
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 4]
jle 0x1004d468
mov dword [ebp - 0x38], 1
jmp 0x1004d46c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1004d487
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x1004d4fe
mov dword [ebp - 0x24], 0
jmp 0x1004d499
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x1004d4af
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xf4], 0xfffffffd
jmp 0x1004d492
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0xf4], 0xcbfb41ce
mov dword [ebp - 8], 0
jmp 0x1004d4d0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x1004d4fe
mov dword [ebp - 4], 0
jmp 0x1004d4e6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1004d4fc
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xf4], 1
jmp 0x1004d4df
jmp 0x1004d4c9
mov dword [ebp - 4], 0
jmp 0x1004d50e
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1004d565
mov dword [ebp - 0x1c], 0
jmp 0x1004d524
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004d53a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x90], 8
jmp 0x1004d51d
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x68]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x68], 0xfffffffa
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x90], 0xfffffffa
jmp 0x1004d507
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1004d817
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xcc], 0xe7aebb1b
mov dword [ebp - 0xc8], 0xe7aebb1b
mov dword [ebp - 0xc4], 0xe7aebb1b
mov dword [ebp - 0xc0], 0xe7aebb1b
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xbc], 9
mov dword [ebp - 0xb8], 9
mov dword [ebp - 0xb4], 9
mov dword [ebp - 0xb0], 9
mov dword [ebp - 0xc], 0
jmp 0x1004d5e7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x1004d5fa
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x34], 0xffffffff
jmp 0x1004d5e0
mov dword [ebp - 0xc], 0
jmp 0x1004d60a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x1004d620
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xe0], 0x637b3047
jmp 0x1004d603
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x34], 0
je 0x1004d6d9
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1004d648
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1004d65e
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xac], 0
jmp 0x1004d641
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xac], 0
jmp 0x1004d68c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xac], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xac], 2
jge 0x1004d6b3
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
mov dword [ebp + eax*4 - 0x34], 0xfffffffe
jmp 0x1004d671
mov dword [ebp - 0x14], 0
jmp 0x1004d6c3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1004d6d7
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x34], 0
je 0x1004d6d5
jmp 0x1004d6d7
jmp 0x1004d6bc
jmp 0x1004d6f2
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1004d6eb
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov dword [ebp - 0x2c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0xd4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xe0], 0x9bdd7770
jb 0x1004d71e
mov dword [ebp - 0x4c], 1
jmp 0x1004d722
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x7201
jle 0x1004d734
mov dword [ebp - 0x54], 1
jmp 0x1004d738
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], 1
jmp 0x1004d74b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xcc]
cmp dword [ebp - 0x5c], eax
jne 0x1004d766
mov dword [ebp - 0x64], 1
jmp 0x1004d76a
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe0]
cmp dword [ebp - 0x64], eax
jge 0x1004d785
mov dword [ebp - 0x6c], 1
jmp 0x1004d789
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp + eax - 0x34]
cmp ecx, dword [ebp - 0x2c]
jl 0x1004d7a7
mov dword [ebp - 0x9c], 1
jmp 0x1004d7ae
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0xd0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
cmp dword [ebp + eax - 0x34], ecx
jle 0x1004d7d9
mov dword [ebp - 0x3c], 1
jmp 0x1004d7dd
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x895c
jle 0x1004d7f8
mov eax, 0x79a9
test eax, eax
je 0x1004d7f8
mov dword [ebp - 0x44], 1
jmp 0x1004d7fc
and dword [ebp - 0x44], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0xbc], ecx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov esp, ebp
pop ebp
ret