Function at 0x427650
Capabilities:
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe24
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe0c], 0
mov dword [ebp - 0xe24], 0
mov dword [ebp - 0xe20], 0
mov dword [ebp - 0xe10], 0
mov al, byte [0x4fe844]
mov byte [ebp - 0xa04], al
push 0x1ff
push 0
lea ecx, [ebp - 0xa03]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fe846]
mov byte [ebp - 0xc04], dl
push 0x1ff
push 0
lea eax, [ebp - 0xc03]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fe849]
mov byte [ebp - 0xe04], cl
push 0x1ff
push 0
lea edx, [ebp - 0xe03]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4fe84b]
mov byte [ebp - 0x804], al
push 0xfe
push 0
lea ecx, [ebp - 0x803]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fe84c]
mov byte [ebp - 0x104], dl
push 0xfe
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fe84d]
mov byte [ebp - 0x204], cl
push 0xfe
push 0
lea edx, [ebp - 0x203]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4fe84e]
mov byte [ebp - 0x404], al
push 0xfe
push 0
lea ecx, [ebp - 0x403]
push ecx
call fcn.004b6780
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe08], dx
xor eax, eax
mov word [ebp - 0xe14], ax
mov dword [ebp - 0xe1c], 0x4fcad8
call fcn.0049cfc0
mov dword [ebp - 0xe1c], eax
cmp dword [0x4e84f0], 0xffffffff
je 0x4277b7
mov ecx, dword [0x4e84f0]
mov dword [ebp - 0xe10], ecx
jmp 0x42784c
push 0x15
movsx edx, word [0x4e8504]
imul edx, edx, 0x127c
add edx, 0x14b63c0
push edx
call fcn.00430c20
add esp, 8
cwde
cmp eax, 1
jne 0x427813
push 8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040f3a0
add esp, 8
movsx edx, ax
cmp edx, 1
je 0x427807
push 7
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040f3a0
add esp, 8
movsx ecx, ax
cmp ecx, 1
jne 0x427813
mov dword [ebp - 0xe10], 1
jmp 0x42784c
mov edx, dword [ebp + 0x10]
movsx eax, word [edx + 0x17e]
test eax, eax
jl 0x427830
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx + 0x17e]
cmp edx, 9
jle 0x42783c
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x17e], ax
mov edx, dword [ebp + 0x10]
movsx eax, word [edx + 0x17e]
mov dword [ebp - 0xe10], eax
cmp dword [0x54e958], 1
jne 0x4278ff
cmp dword [ebp + 0xc], 0
je 0x4278ff
cmp dword [ebp + 0x10], 0
je 0x4278ff
cmp dword [ebp - 0xe10], 0
je 0x4278ff
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0xfc]
mov word [ebp - 0xe08], dx
movsx eax, word [0x4e8504]
imul eax, eax, 0x127c
mov cx, word [eax + 0x14b64c2]
mov word [ebp - 0xe14], cx
movsx edx, word [ebp - 0xe14]
test edx, edx
je 0x4278bf
mov ax, word [ebp - 0xe14]
mov word [ebp - 0xe08], ax
mov ecx, dword [ebp - 0xe10]
push ecx
movzx edx, word [ebp - 0xe08]
push edx
mov eax, dword [0x4fd0f4]
push eax
push 0x5c
push 0x4e113c
push 0x4fc2b8
push str._s_s_cunlock__03d__05d__02d.fc
mov ecx, 0xff
imul ecx, ecx, 0
lea edx, [ebp + ecx - 0x704]
push edx
call fcn.004b6e08
add esp, 0x20
jmp 0x42791c
push 0x4fe855
mov eax, 0xff
imul eax, eax, 0
lea ecx, [ebp + eax - 0x704]
push ecx
call fcn.004b5e60
add esp, 8
push 0x4e118c
push 0x5c
push 0x4e11ac
mov edx, dword [ebp - 0xe1c]
push edx
push 0x4e11cc
mov eax, 0xff
shl eax, 0
lea ecx, [ebp + eax - 0x704]
push ecx
call fcn.004b6e08
add esp, 0x18
mov dword [ebp - 0xe0c], 0
jmp 0x427967
mov edx, dword [ebp - 0xe0c]
add edx, 1
mov dword [ebp - 0xe0c], edx
cmp dword [ebp - 0xe0c], 2
jge 0x427d72
mov eax, dword [ebp - 0xe0c]
imul eax, eax, 0xff
lea ecx, [ebp + eax - 0x704]
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ecx + edx]
test eax, eax
je 0x427d6d
push 0x4fe858
mov ecx, dword [ebp - 0xe0c]
imul ecx, ecx, 0xff
lea edx, [ebp + ecx - 0x704]
push edx
call fcn.004b68e0
add esp, 8
test eax, eax
jne 0x4279ee
mov eax, dword [ebp - 0xe0c]
imul eax, eax, 0xff
lea ecx, [ebp + eax - 0x704]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b5e60
add esp, 8
mov eax, dword [ebp - 0xe0c]
add eax, 1
jmp 0x427db6
mov eax, dword [ebp - 0xe0c]
imul eax, eax, 0xff
lea ecx, [ebp + eax - 0x704]
push ecx
call fcn.004196c0
add esp, 4
test eax, eax
je 0x427bf4
mov edx, dword [ebp - 0xe0c]
imul edx, edx, 0xff
lea eax, [ebp + edx - 0x704]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5e60
add esp, 8
push 0x4fef80
push 0x4fa370
push 0x4e11d8
lea edx, [ebp - 0xe04]
push edx
call fcn.004b6e08
add esp, 0x10
movzx eax, word [ebp - 0xe08]
push eax
mov ecx, dword [0x4fd0f4]
push ecx
push str.UN__03d__05d
lea edx, [ebp - 0x804]
push edx
call fcn.004b6e08
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0x200
lea ecx, [ebp - 0xa04]
push ecx
push 0x4fe856
push 0x4e11f0
push str.UNLOCK.FC
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xe04]
push edx
push 0x200
lea eax, [ebp - 0xc04]
push eax
push 0x4fe957
lea ecx, [ebp - 0x804]
push ecx
push 0x4e1204
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0xc04]
test eax, eax
je 0x427b18
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ebp + ecx - 0xa04]
test edx, edx
je 0x427b18
lea eax, [ebp - 0xa04]
push eax
lea ecx, [ebp - 0xc04]
push ecx
call fcn.004b68e0
add esp, 8
test eax, eax
jle 0x427b18
mov edx, 1
imul edx, edx, 0
mov eax, dword [ebp + 8]
mov byte [eax + edx], 0
jmp 0x427bc2
mov cl, byte [0x4fe95a]
mov byte [ebp - 0x304], cl
push 0xfe
push 0
lea edx, [ebp - 0x303]
push edx
call fcn.004b6780
add esp, 0xc
push 0x4e120c
mov eax, dword [ebp + 8]
push eax
call fcn.0041a470
add esp, 8
mov dword [ebp - 0xe18], eax
cmp dword [ebp - 0xe18], 0
je 0x427bc2
mov ecx, dword [ebp - 0xe18]
push ecx
push 1
push 0xc
lea edx, [ebp - 0x304]
push edx
call fcn.004b8e47
add esp, 0x10
mov eax, dword [ebp - 0xe18]
push eax
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0xe18], 0
push 0xb
push str._UNLOCK.FC_
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6970
add esp, 0xc
test eax, eax
je 0x427bc2
mov edx, dword [ebp + 8]
push edx
call fcn.00419360
add esp, 4
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], 0
mov edx, 1
imul edx, edx, 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + edx]
test ecx, ecx
je 0x427bf4
mov edx, dword [ebp + 8]
push edx
push 0x4fe858
call fcn.004b5e60
add esp, 8
mov eax, dword [ebp - 0xe0c]
add eax, 1
jmp 0x427db6
cmp dword [ebp - 0xe0c], 1
jne 0x427c21
push 0x5c
push 0x4e1268
mov eax, dword [ebp - 0xe1c]
push eax
push 0x4e127c
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b6e08
add esp, 0x14
jmp 0x427c41
push 0x5c
push 0x4e1284
push 0x4fc2b8
push 0x4e128c
lea edx, [ebp - 0x104]
push edx
call fcn.004b6e08
add esp, 0x14
mov eax, dword [ebp - 0xe10]
push eax
movzx ecx, word [ebp - 0xe08]
push ecx
mov edx, dword [0x4fd0f4]
push edx
push str.unlock__03d__05d__02d.fc
lea eax, [ebp - 0x204]
push eax
call fcn.004b6e08
add esp, 0x14
movsx ecx, word [ebp - 0xe08]
test ecx, ecx
je 0x427c7f
cmp dword [ebp - 0xe10], 0
jne 0x427c93
push 0x4e12b0
lea edx, [ebp - 0x204]
push edx
call fcn.004b5e60
add esp, 8
push 0x4ed098
push str._s_studypaths
lea eax, [ebp - 0x404]
push eax
call fcn.004b6e08
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
call fcn.00419870
add esp, 4
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.0045b150
add esp, 0xc
mov dword [ebp - 0xe20], eax
mov edx, dword [ebp - 0xe0c]
imul edx, edx, 0xff
lea eax, [ebp + edx - 0x704]
push eax
call fcn.004196c0
add esp, 4
cmp eax, 1
jne 0x427d44
cmp dword [ebp - 0xe20], 0
jne 0x427d44
mov ecx, dword [ebp - 0xe0c]
imul ecx, ecx, 0xff
lea edx, [ebp + ecx - 0x704]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b5e60
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push 0x4fe858
call fcn.004b5e60
add esp, 8
mov eax, dword [ebp - 0xe0c]
add eax, 1
jmp 0x427db6
movsx edx, word [ebp - 0xe08]
test edx, edx
je 0x427d58
cmp dword [ebp - 0xe10], 0
jne 0x427d6d
push 0x4e12d0
mov eax, dword [ebp + 8]
push eax
call fcn.004b5e60
add esp, 8
xor eax, eax
jmp 0x427db6
jmp 0x427958
mov ecx, 0xff
shl ecx, 1
lea edx, [ebp + ecx - 0x704]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b5e60
add esp, 8
mov ecx, 0xff
shl ecx, 1
lea edx, [ebp + ecx - 0x704]
push edx
push str.unlock_001.fc
push str.Cant_open_the__s_file:__s
push 1
call fcn.004417b0
add esp, 0x10
mov eax, dword [ebp - 0xe24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret