Function at 0x10024c66
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078fa9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100251e9
mov dword [ebp - 0x124], 0xfffffff7
mov dword [ebp - 0x11c], 8
mov dword [ebp - 0x1a8], 0x23b6182e
push 4
lea ecx, [ebp - 0x194]
call fcn.100170ca
and dword [ebp - 4], 0
mov dword [ebp - 0x98], 0xe08cccdd
mov dword [ebp - 0x2c], 0
jmp 0x10024cda
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x10024cf6
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x194]
call fcn.10017168
mov dword [eax], 0x72226312
jmp 0x10024cd3
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.1001714c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x3c], 1
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10024d4b
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x3c], 0xfffffff4
jmp 0x10024d5b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xa
jle 0x10024d77
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x10024d75
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x10024d54
mov dword [ebp - 0x20], 0xffffffff
push 3
lea ecx, [ebp - 0x140]
call fcn.100170ca
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], 0
jmp 0x10024da2
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x10024dbb
push dword [ebp - 0x38]
lea ecx, [ebp - 0x140]
call fcn.10017168
or dword [eax], 0xffffffff
jmp 0x10024d9b
cmp dword [ebp - 0x20], 0
je 0x10024dda
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10024dd5
push 0
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
jmp 0x10024e75
mov dword [ebp - 0xfc], 0x4d513c61
mov dword [ebp - 0x20], 0xffffffe6
jmp 0x10024df4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jne 0x10024e6c
mov dword [ebp - 0x48], 0xfffffff8
push 1
lea ecx, [ebp - 0x140]
call fcn.10017168
mov dword [eax], 0x905d09ea
mov dword [ebp - 0x48], 0
jmp 0x10024e24
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x10024e6a
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x10024e56
push 0
push 0x725
push 0x9fe
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10024e68
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x10024e1d
jmp 0x10024ded
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xfc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.1001714c
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x108], 0x6318
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x110], 0xb03b
push 3
lea ecx, [ebp - 0x14c]
call fcn.100170ca
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 0
jmp 0x10024ed6
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x10024ef2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x14c]
call fcn.10017168
mov dword [eax], 0x2e5f0e77
jmp 0x10024ecf
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10024f06
push 0
call dword [sym.imp.USER32.dll_CharNextW]
cmp dword [ebp - 0x108], 0
je 0x10024f67
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x7c], eax
jne 0x10024f26
mov dword [ebp - 0xf8], 1
jmp 0x10024f2d
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0xf8], eax
jl 0x10024f47
mov dword [ebp - 0xf4], 1
jmp 0x10024f4e
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, 0xfffc
je 0x10024f67
mov dword [ebp - 0xf0], 1
jmp 0x10024f6e
and dword [ebp - 0xf0], 0
mov esi, dword [ebp - 0xf0]
sub esi, dword [ebp - 0x7c]
push 1
lea ecx, [ebp - 0x14c]
call fcn.10017168
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.1001714c
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xec], 0x12b57e8b
mov dword [ebp - 0x164], 0x14d2edc7
mov dword [ebp - 0x16c], 9
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x184], 0xfffffffe
mov dword [ebp - 0x158], 3
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x160], 0x819570a5
mov dword [ebp - 0xc4], 0x101aae4b
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x118], 0x8ae505b0
mov dword [ebp - 0x168], 0xfa5f9c71
mov dword [ebp - 0x198], 8
mov dword [ebp - 0x170], 1
push 1
lea ecx, [ebp - 0x1a4]
call fcn.100170ca
mov dword [ebp - 4], 3
push 3
lea ecx, [ebp - 0x134]
call fcn.100170ca
mov byte [ebp - 4], 4
mov dword [ebp - 0x188], 0x4e630971
mov dword [ebp - 0x84], 0x701832d7
mov dword [ebp - 0x10], 0
jmp 0x10025080
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10025096
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x178], 0xc789
jmp 0x10025079
mov dword [ebp - 0x10], 0
jmp 0x100250a6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x100250bf
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1a4]
call fcn.10017168
or dword [eax], 0xffffffff
jmp 0x1002509f
mov dword [ebp - 0x10], 0
jmp 0x100250cf
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x100250e8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x134]
call fcn.10017168
or dword [eax], 0xffffffff
jmp 0x100250c8
push 2
lea ecx, [ebp - 0x134]
call fcn.10017168
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xbc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x118], 0xb66c146d
jbe 0x10025131
mov dword [ebp - 0xdc], 1
jmp 0x10025138
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0x7758a8ce
jne 0x10025150
mov dword [ebp - 0x8c], 1
jmp 0x10025157
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xec]
cmp dword [ebp - 0xc4], eax
jne 0x1002517d
mov dword [ebp - 0x94], 1
jmp 0x10025184
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.1001714c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call fcn.1001714c
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x100251c4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 4
jge 0x100251e4
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x100]
call fcn.10017168
mov dword [eax], 0x72226312
jmp 0x100251b9
jmp 0x100256e3
push 3
lea ecx, [ebp - 0x54]
call fcn.100170ca
mov dword [ebp - 4], 5
mov dword [ebp - 0x10c], 0xffbe5849
mov dword [ebp - 0x40], 0
jmp 0x10025214
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1002522d
push dword [ebp - 0x40]
lea ecx, [ebp - 0x54]
call fcn.10017168
mov dword [eax], 0x61c0f806
jmp 0x1002520d
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x10025241
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 0
lea ecx, [ebp - 0x54]
call fcn.10017168
cmp dword [eax], 0xca98
jle 0x1002525f
mov dword [ebp - 0xe4], 1
jmp 0x10025266
and dword [ebp - 0xe4], 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10017168
mov esi, eax
push 1
lea ecx, [ebp - 0x54]
call fcn.10017168
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x1002528e
mov dword [ebp - 0x104], 1
jmp 0x10025295
and dword [ebp - 0x104], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10017168
mov eax, 0xe6d3
test eax, eax
jne 0x100252c0
push 0
lea ecx, [ebp - 0x54]
call fcn.10017168
cmp dword [eax], 0
jne 0x100252c0
and dword [ebp - 0x9c], 0
jmp 0x100252ca
mov dword [ebp - 0x9c], 1
push 0
lea ecx, [ebp - 0x54]
call fcn.10017168
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
jle 0x100252ea
mov dword [ebp - 0xcc], 1
jmp 0x100252f1
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10017168
mov ecx, dword [ebp - 0xcc]
sub ecx, dword [eax]
cmp ecx, 0xe3cf9575
jb 0x10025317
mov dword [ebp - 0xa4], 1
jmp 0x1002531e
and dword [ebp - 0xa4], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10017168
mov ecx, dword [ebp - 0xa4]
sub ecx, dword [eax]
cmp ecx, 0x43b8
jg 0x10025344
mov dword [ebp - 0xac], 1
jmp 0x1002534b
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xac]
jg 0x10025365
mov dword [ebp - 0xd4], 1
jmp 0x1002536c
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.10017168
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [eax]
jge 0x1002538c
mov dword [ebp - 0xb4], 1
jmp 0x10025393
and dword [ebp - 0xb4], 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10017168
mov ecx, dword [ebp - 0xb4]
imul ecx, dword [eax]
test ecx, ecx
jne 0x100253b9
mov eax, 0xc294
test eax, eax
jne 0x100253b9
and dword [ebp - 0x74], 0
jmp 0x100253c0
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x10c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.1001714c
push 2
lea ecx, [ebp - 0x64]
call fcn.100170ca
mov dword [ebp - 4], 6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x6c], 0x3e58bfc4
mov dword [ebp - 0x68], 0xfffffff7
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x30], 0
jmp 0x10025419
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x10025432
push dword [ebp - 0x30]
lea ecx, [ebp - 0x64]
call fcn.10017168
mov dword [eax], 0xac64a684
jmp 0x10025412
push 0
lea ecx, [ebp - 0x64]
call fcn.10017168
mov dword [eax], 0xffffffe2
jmp 0x1002545c
push 0
lea ecx, [ebp - 0x64]
call fcn.10017168
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x64]
call fcn.10017168
cmp dword [eax], 0xfffffff5
jle 0x100254d4
mov dword [ebp - 0x154], 0x9924
push 3
lea ecx, [ebp - 0x1b4]
call fcn.100170ca
mov byte [ebp - 4], 7
mov dword [ebp - 0x80], 0x2daab72b
mov dword [ebp - 0x34], 0
jmp 0x1002549d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x100254b9
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1b4]
call fcn.10017168
mov dword [eax], 7
jmp 0x10025496
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.1001714c
jmp 0x10025444
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x15c], eax
push 1
lea ecx, [ebp - 0x64]
call fcn.10017168
cmp dword [eax], 0
jne 0x1002553b
push 0
lea ecx, [ebp - 0x64]
call fcn.10017168
cmp dword [eax], 4
jne 0x10025507
mov dword [ebp - 0x88], 1
jmp 0x1002550e
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x88], eax
jle 0x10025525
mov dword [ebp - 0x90], 1
jmp 0x1002552c
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 1
jne 0x1002553b
and dword [ebp - 0x70], 0
jmp 0x10025542
mov dword [ebp - 0x70], 1
mov esi, dword [ebp - 0x68]
imul esi, dword [ebp - 0x70]
push 0
lea ecx, [ebp - 0x64]
call fcn.10017168
cmp esi, dword [eax]
jge 0x10025563
mov dword [ebp - 0xa0], 1
jmp 0x1002556a
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x64]
call fcn.10017168
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [eax]
jle 0x10025590
cmp dword [ebp - 0x18], 0
je 0x10025590
mov dword [ebp - 0xa8], 1
jmp 0x10025597
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xa8]
jl 0x100255ae
mov dword [ebp - 0xb0], 1
jmp 0x100255b5
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0xb0]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x6c]
push 0
lea ecx, [ebp - 0x64]
call fcn.10017168
imul esi, dword [eax]
cmp esi, dword [ebp - 0x18]
jge 0x100255e3
mov dword [ebp - 0xb8], 1
jmp 0x100255ea
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 8
jle 0x10025602
cmp dword [ebp - 0x18], 0
je 0x10025602
and dword [ebp - 0xc0], 0
jmp 0x1002560c
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xc0], eax
jne 0x1002562a
push 4
pop eax
test eax, eax
je 0x1002562a
mov dword [ebp - 0xc8], 1
jmp 0x10025631
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xc8], eax
jne 0x10025648
mov dword [ebp - 0xd0], 1
jmp 0x1002564f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xd8], eax
push 0
lea ecx, [ebp - 0x64]
call fcn.10017168
mov ecx, dword [ebp - 0xd8]
mov dword [eax], ecx
cmp dword [ebp - 0xd8], 0
je 0x1002568e
cmp dword [ebp - 0x6c], 0
je 0x1002568e
mov dword [ebp - 0xe0], 1
jmp 0x10025695
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x68], eax
jg 0x100256b2
mov dword [ebp - 0xe8], 1
jmp 0x100256b9
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.1001714c
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret