Function at 0x10001d90
Capabilities:
Read .ini file

Disassembly:
call fcn.10002750
push eax
push 0
push str.UseCfg
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x10002367
push esi
push edi
call fcn.10002750
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x40
push 0x100058f0
push 0xffffffffffffffff
push 0x100032b0
push 0
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x10001e1a
call fcn.10002750
push eax
push 0x40
push 0x10005868
push 0x100058f0
push str.Name
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10001e1a
push 0
push 0
push 0x3f
push str.Red_Pill_Development
push 0xffffffffffffffff
push 0x10005868
push 0
push 0
call esi
call fcn.10002750
push 0x40
push 0x100058f0
push 0xffffffffffffffff
push 0x100032e0
push 0
push 0
call edi
test eax, eax
jle 0x10001e75
call fcn.10002750
push eax
push 0x40
push 0x10005868
push 0x100058f0
push str.LEID
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10001e75
push 0
push 0
push 0x3f
push str.RedPill_1.0_Win_GM
push 0xffffffffffffffff
push 0x10005868
push 0
push 0
call esi
call fcn.10002750
push 0x40
push 0x100058f0
push 0xffffffffffffffff
push 0x10003300
push 0
push 0
call edi
test eax, eax
jle 0x10001ed0
call fcn.10002750
push eax
push 0x40
push 0x10005868
push 0x100058f0
push str.Version
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10001ed0
push 0
push 0
push 0xf
push str.1.0.0
push 0xffffffffffffffff
push 0x10005868
push 0
push 0
call esi
call fcn.10002750
push 0x40
push 0x100058f0
push 0xffffffffffffffff
push 0x10003320
push 0
push 0
call edi
test eax, eax
jle 0x10001f2b
call fcn.10002750
push eax
push 0x40
push 0x10005868
push 0x100058f0
push str.Serial
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10001f2b
push 0
push 0
push 0x18
push str.911981263905754650953920
push 0xffffffffffffffff
push 0x10005868
push 0
push 0
call esi
call fcn.10002750
push 0x40
push 0x100058f0
push 0xffffffffffffffff
push 0x10003350
push 0
push 0
call edi
test eax, eax
jle 0x10001f86
call fcn.10002750
push eax
push 0x40
push 0x10005868
push 0x100058f0
push 0x10003364
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10001f86
push 0
push 0
push 0x3f
push str.painter_adobe.com
push 0xffffffffffffffff
push 0x10005868
push 0
push 0
call esi
call fcn.10002750
push 0x40
push 0x100058f0
push 0xffffffffffffffff
push 0x10003380
push 0
push 0
call edi
test eax, eax
jle 0x10001fe1
call fcn.10002750
push eax
push 0x40
push 0x10005868
push 0x100058f0
push str.PersonGUID
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10001fe1
push 0
push 0
push 0x20
push str.7189F1490B80A4FEC6B81B51_AdobeID
push 0xffffffffffffffff
push 0x10005868
push 0
push 0
call esi
call fcn.10002750
push eax
push 0
push str.Version
push 0x100033bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, str.9.0.0.89_9.0
mov edi, eax
sub edx, 0x10004b31
xor esi, esi
jmp 0x10002010
movzx ecx, byte [esi + str._n10.0.0.3_7.0]
cmp edi, ecx
jne 0x10002034
mov dword [0x10004a34], ecx
lea ecx, [esi + 0x10004b31]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10002027
add esi, 0x11
sub edx, 0x11
cmp esi, 0x77
jb 0x10002010
call fcn.10002750
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push 0x100033c4
push 0x100033bc
call edi
movzx ecx, byte [0x100056cd]
mov edx, 1
cmp eax, edx
cmove ecx, edx
mov byte [0x100056cd], cl
xor ecx, ecx
cmp byte [str.Red_Pill_Development], cl
je 0x1000208a
lea ebx, [ebx]
inc ecx
cmp byte [ecx + str.Red_Pill_Development], 0
jne 0x10002080
lea eax, [ecx - 3]
cmp eax, 0x3d
ja 0x100020d1
xor edx, edx
test ecx, ecx
je 0x100020f3
jmp 0x100020a0
mov al, byte [edx + str.Red_Pill_Development]
cmp al, 0x30
jl 0x100020ae
cmp al, 0x39
jle 0x100020ca
cmp al, 0x61
jl 0x100020b6
cmp al, 0x7a
jle 0x100020ca
cmp al, 0x41
jl 0x100020be
cmp al, 0x5a
jle 0x100020ca
cmp al, 0x2d
je 0x100020ca
cmp al, 0x2e
je 0x100020ca
cmp al, 0x20
jne 0x100020d1
inc edx
cmp edx, ecx
jb 0x100020a0
jmp 0x100020f3
xor ecx, ecx
jmp 0x100020e0
mov al, byte [ecx + 0x100032b0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10004aaf], al
test al, al
jne 0x100020e0
xor edx, edx
cmp byte [str.RedPill_1.0_Win_GM], dl
je 0x1000210a
lea ecx, [ecx]
inc edx
cmp byte [edx + str.RedPill_1.0_Win_GM], 0
jne 0x10002100
call fcn.10002370
test al, al
jne 0x10002133
xor ecx, ecx
jmp 0x10002120
mov al, byte [ecx + 0x100032e0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10004aef], al
test al, al
jne 0x10002120
mov dl, byte [str.1.0.0]
xor ecx, ecx
test dl, dl
je 0x1000214a
nop
inc ecx
cmp byte [ecx + str.1.0.0], 0
jne 0x10002140
test ecx, ecx
je 0x10002194
lea eax, [ecx - 3]
cmp eax, 0xc
ja 0x10002194
cmp dl, 0x2e
je 0x10002194
cmp byte [ecx + 0x100049ff], 0x2e
je 0x10002194
xor esi, esi
xor eax, eax
test ecx, ecx
je 0x10002194
lea esp, [esp]
mov dl, byte [eax + str.1.0.0]
cmp dl, 0x30
jl 0x10002180
cmp dl, 0x39
jle 0x10002186
cmp dl, 0x2e
jne 0x10002194
inc esi
inc eax
cmp eax, ecx
jb 0x10002170
test esi, esi
je 0x10002194
cmp esi, 3
jbe 0x100021b1
xor ecx, ecx
jmp 0x100021a0
mov al, byte [ecx + 0x10003300]
mov byte [ecx + str.1.0.0], al
inc ecx
test al, al
jne 0x100021a0
xor eax, eax
cmp byte [str.911981263905754650953920], al
je 0x100021e9
jmp 0x100021c0
inc eax
cmp byte [eax + str.911981263905754650953920], 0
jne 0x100021c0
cmp eax, 0x18
jne 0x100021e9
xor eax, eax
mov cl, byte [eax + str.911981263905754650953920]
cmp cl, 0x30
jl 0x100021e9
cmp cl, 0x39
jg 0x100021e9
inc eax
cmp eax, 0x18
jb 0x100021d1
jmp 0x10002203
xor ecx, ecx
jmp 0x100021f0
mov al, byte [ecx + 0x10003320]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10004a3f], al
test al, al
jne 0x100021f0
xor edx, edx
cmp byte [str.painter_adobe.com], dl
je 0x1000221a
lea ecx, [ecx]
inc edx
cmp byte [edx + str.painter_adobe.com], 0
jne 0x10002210
call fcn.10002440
test al, al
jne 0x10002243
xor ecx, ecx
jmp 0x10002230
mov al, byte [ecx + 0x10003350]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10004a5f], al
test al, al
jne 0x10002230
xor eax, eax
cmp byte [str.7189F1490B80A4FEC6B81B51_AdobeID], al
je 0x100022a0
lea ecx, [ecx]
inc eax
cmp byte [eax + str.7189F1490B80A4FEC6B81B51_AdobeID], 0
jne 0x10002250
cmp eax, 0x20
jne 0x100022a0
cmp byte [0x10004a28], 0x40
jne 0x100022a0
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [ecx + str.7189F1490B80A4FEC6B81B51_AdobeID]
cmp al, 0x30
jl 0x1000227e
cmp al, 0x39
jle 0x10002286
cmp al, 0x41
jl 0x100022a0
cmp al, 0x46
jg 0x100022a0
inc ecx
cmp ecx, 0x18
jb 0x10002270
push str.AdobeID
push 0x10004a29
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x100022c3
xor ecx, ecx
jmp 0x100022b0
mov al, byte [ecx + 0x10003380]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10004a0f], al
test al, al
jne 0x100022b0
call fcn.10002750
push eax
push 0
push str.ForceLanguage
push str.Config
call edi
pop edi
pop esi
cmp eax, 1
jne 0x100022e5
mov byte [0x100056cc], al
jmp 0x100022ee
cmp byte [0x100056cc], 0
je 0x10002367
call fcn.10002750
push 0x40
push 0x100058f0
push 0xffffffffffffffff
push 0x10003410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x10002351
call fcn.10002750
push eax
push 0x40
push 0x10005868
push 0x100058f0
push str.Language
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10002351
push 0
push 0
push 7
push 0x100049f8
push 0xffffffffffffffff
push 0x10005868
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, 0x100049f8
call fcn.10002550
push ecx
mov dword [0x100049f4], eax
call fcn.100025e0
pop ecx
ret