Function at 0x1001d767
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001d8cc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1001d8ba
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1000fd18
cmp dword [eax], 0
jne 0x1001d7f4
push 1
mov ecx, dword [ebp - 0xc]
call fcn.1000fd18
cmp dword [eax], 0
je 0x1001d7ee
mov eax, 0xb76d
test eax, eax
jne 0x1001d7f4
and dword [ebp - 0x2c], 0
jmp 0x1001d7fb
mov dword [ebp - 0x2c], 1
push 2
mov ecx, dword [ebp - 0xc]
call fcn.1000fd18
cmp dword [eax], 0x700d
jle 0x1001d816
mov dword [ebp - 0x20], 1
jmp 0x1001d81a
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1000fd18
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jg 0x1001d837
mov dword [ebp - 0x24], 1
jmp 0x1001d83b
and dword [ebp - 0x24], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.1000fd18
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jge 0x1001d855
mov dword [ebp - 0x28], 1
jmp 0x1001d859
and dword [ebp - 0x28], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.1000fd18
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jl 0x1001d873
mov dword [ebp - 0x54], 1
jmp 0x1001d877
and dword [ebp - 0x54], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.1000fd18
mov eax, 0xfdb7b241
add eax, 7
cmp dword [ebp - 0x2c], eax
jle 0x1001d897
mov dword [ebp - 0x58], 1
jmp 0x1001d89b
and dword [ebp - 0x58], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.1000fd18
mov esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1000fd18
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1001d8c7
push 0
push 0x17f1
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1001da19
lea eax, [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1001d909
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1001d904
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x1001da19
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], 0x1470
cmp dword [ebp - 0x70], 0x1049
jge 0x1001da08
lea eax, [ebp - 0x18]
push eax
push 0x100077d4
call fcn.1005ac9b
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x74], 0
je 0x1001da08
lea eax, [ebp - 0x78]
push eax
push 0x100077d4
call fcn.1005ac9b
pop ecx
pop ecx
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 8], 0
jmp 0x1001d96f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x78]
jge 0x1001d9df
lea eax, [ebp - 0x30]
push eax
push 0x100077d4
call fcn.1005ac9b
pop ecx
pop ecx
mov eax, dword [ebp - 8]
and eax, 0x80000001
jns 0x1001d996
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x30]
and ecx, 0x80000001
jns 0x1001d9a6
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp eax, ecx
jge 0x1001d9b3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x1001d9dd
mov eax, dword [ebp - 8]
and eax, 0x80000001
jns 0x1001d9c2
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x30]
and ecx, 0x80000001
jns 0x1001d9d2
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp eax, ecx
jle 0x1001d9dd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x1001d968
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x1001d9f8
push dword [ebp - 0x10]
push 0x10007910
call fcn.1005b2bd
pop ecx
pop ecx
jmp 0x1001da03
push 0x10007f58
call fcn.1005b6d1
pop ecx
jmp 0x1001d933
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
pop esi
mov esp, ebp
pop ebp
ret