Function at 0x1001ccf0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x12c
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
push edi
mov dword [0x1007e81c], esi
call fcn.10024ca0
push eax
push str.__wnschool_d.ini
push 0xff
lea eax, [esp + 0x44]
push 0xff
push eax
call fcn.1002ebd0
push 0x120
xor edi, edi
push edi
push 0x1007e5f0
call fcn.1002ebf0
add esp, 0x20
lea ecx, [esp + 0x38]
push ecx
push 0x120
push 0x1007e5f0
push 0x10050bb4
push str.school
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push 6
mov dword [0x1007e6ec], edi
mov dword [0x1007e6f0], edi
call fcn.10001020
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x43a
push esi
mov ebp, eax
call edi
push 0x43f
push esi
mov dword [esp + 0x18], eax
call edi
push 0x442
push esi
mov dword [esp + 0x1c], eax
call edi
push 0x447
push esi
mov dword [esp + 0x20], eax
call edi
push 0x44a
push esi
mov dword [esp + 0x24], eax
call edi
push 0x43b
push esi
mov dword [esp + 0x28], eax
call edi
push 0x440
push esi
mov dword [esp + 0x2c], eax
call edi
push 0x443
push esi
mov dword [esp + 0x30], eax
call edi
push 0x448
push esi
mov dword [esp + 0x34], eax
call edi
push 0x44b
push esi
mov dword [esp + 0x38], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x34], eax
lea eax, [ebp - 1]
cmp eax, 4
ja case.default.0x1001ce0d
jmp dword [eax*4 + 0x1001d5ac]
push 0x10043058
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x1007e660
push ebp
push 0
push 0x1007e5fc
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x28]
push 0x1007e664
push ebp
push 0
push 0x1007e600
push eax
call fcn.10019fe0
mov ecx, dword [esp + 0x2c]
push 0x1007e668
push ebp
push 0
push 0x1007e604
push ecx
call fcn.10019fe0
mov edx, dword [esp + 0x30]
push 0x1007e66c
push ebp
push 0
push 0x1007e608
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x34]
push 0x1007e670
push ebp
push 0
push 0x1007e60c
push eax
call fcn.10019fe0
mov ecx, dword [0x1007e688]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e68c]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x1007e690]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x1007e694]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e698]
jmp 0x1001d274
push 0x10043050
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x1007e660
push ebp
push 0
push 0x1007e610
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x28]
push 0x1007e664
push ebp
push 0
push 0x1007e614
push eax
call fcn.10019fe0
mov ecx, dword [esp + 0x2c]
push 0x1007e668
push ebp
push 0
push 0x1007e618
push ecx
call fcn.10019fe0
mov edx, dword [esp + 0x30]
push 0x1007e66c
push ebp
push 0
push 0x1007e61c
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x34]
push 0x1007e670
push ebp
push 0
push 0x1007e620
push eax
call fcn.10019fe0
mov ecx, dword [0x1007e69c]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6a0]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x1007e6a4]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x1007e6a8]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6ac]
jmp 0x1001d274
push 0x10043048
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x1007e660
push ebp
push 0
push 0x1007e624
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x28]
push 0x1007e664
push ebp
push 0
push 0x1007e628
push eax
call fcn.10019fe0
mov ecx, dword [esp + 0x2c]
push 0x1007e668
push ebp
push 0
push 0x1007e62c
push ecx
call fcn.10019fe0
mov edx, dword [esp + 0x30]
push 0x1007e66c
push ebp
push 0
push 0x1007e630
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x34]
push 0x1007e670
push ebp
push 0
push 0x1007e634
push eax
call fcn.10019fe0
mov ecx, dword [0x1007e6b0]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6b4]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x1007e6b8]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x1007e6bc]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6c0]
jmp 0x1001d274
push 0x10043040
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x1007e660
push ebp
push 0
push 0x1007e638
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x28]
push 0x1007e664
push ebp
push 0
push 0x1007e63c
push eax
call fcn.10019fe0
mov ecx, dword [esp + 0x2c]
push 0x1007e668
push ebp
push 0
push 0x1007e640
push ecx
call fcn.10019fe0
mov edx, dword [esp + 0x30]
push 0x1007e66c
push ebp
push 0
push 0x1007e644
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x34]
push 0x1007e670
push ebp
push 0
push 0x1007e648
push eax
call fcn.10019fe0
mov ecx, dword [0x1007e6c4]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6c8]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x1007e6cc]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x1007e6d0]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6d4]
jmp 0x1001d274
push 0x10043038
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x1007e660
push ebp
push 0
push 0x1007e64c
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x28]
push 0x1007e664
push ebp
push 0
push 0x1007e650
push eax
call fcn.10019fe0
mov ecx, dword [esp + 0x2c]
push 0x1007e668
push ebp
push 0
push 0x1007e654
push ecx
call fcn.10019fe0
mov edx, dword [esp + 0x30]
push 0x1007e66c
push ebp
push 0
push 0x1007e658
push edx
call fcn.10019fe0
mov eax, dword [esp + 0x34]
push 0x1007e670
push ebp
push 0
push 0x1007e65c
push eax
call fcn.10019fe0
mov ecx, dword [0x1007e6d8]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6dc]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x1007e6e0]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x1007e6e4]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x1007e6e8]
mov ecx, dword [esp + 0x20]
push 0
push eax
push 0xf1
push ecx
call ebx
mov eax, dword [0x1007e5f8]
cmp eax, 0x3e8
jae 0x1001d299
mov eax, 0x3e8
mov dword [0x1007e5f8], eax
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push eax
push 0x446
push esi
call ebp
mov edx, dword [0x1007ed04]
push 0
push edx
push 0x4bc
push esi
call ebp
mov eax, dword [0x1007ed08]
push 0
push eax
push 0x4bd
push esi
call ebp
mov ecx, dword [0x1007e708]
push 0
push ecx
push 0x44d
push esi
call ebp
push 0x43d
push esi
call edi
mov edx, dword [0x1007e5f0]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x400
push esi
call edi
mov ecx, dword [0x1007e704]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x4b2
push esi
call edi
mov edx, dword [0x1007ed70]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x4b1
push esi
call edi
mov ecx, dword [0x1007ecf8]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x4de
push esi
call edi
mov edx, dword [0x1007ed0c]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x4b3
push esi
call edi
mov ecx, dword [0x1007ecfc]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x4d9
push esi
call edi
mov edx, dword [0x1007e70c]
push 0
push edx
push 0xf1
push eax
call ebx
xor eax, eax
cmp dword [0x1007ed00], 1
sete al
lea eax, [eax*4 + 0x42d]
push eax
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebx
push 0x43e
push esi
call edi
mov ebp, 2
cmp dword [0x10082038], ebp
jne 0x1001d3cd
mov dword [0x1007e5f4], 0
mov ecx, dword [0x1007e5f4]
push 0
push ecx
push 0xf1
push eax
call ebx
cmp dword [0x10082038], ebp
jne 0x1001d590
push 5
push 0x467
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
push 0x503
push esi
call edi
push eax
call ebx
push 5
push 0x501
push esi
call edi
push eax
call ebx
push 5
push 0x4ab
push esi
call edi
push eax
call ebx
push 5
push 0x502
push esi
call edi
push eax
call ebx
push 5
push 0x44e
push esi
call edi
push eax
call ebx
push 5
push 0x42e
push esi
call edi
push eax
call ebx
push 5
push 0x432
push esi
call edi
push eax
call ebx
push 0
push 0x419
push esi
call edi
push eax
call ebx
push 0
push 0x4ff
push esi
call edi
push eax
call ebx
push 0
push 0x43e
push esi
call edi
push eax
call ebx
push 0
push 0x4d9
push esi
call edi
push eax
call ebx
push 0
push 0x43a
push esi
call edi
push eax
call ebx
push 0
push 0x43f
push esi
call edi
push eax
call ebx
push 0
push 0x442
push esi
call edi
push eax
call ebx
push 0
push 0x447
push esi
call edi
push eax
call ebx
push 0
push 0x44a
push esi
call edi
push eax
call ebx
push 0
push 0x43b
push esi
call edi
push eax
call ebx
push 0
push 0x440
push esi
call edi
push eax
call ebx
push 0
push 0x443
push esi
call edi
push eax
call ebx
push 0
push 0x448
push esi
call edi
push eax
call ebx
push 0
push 0x44b
push esi
call edi
push eax
call ebx
push 0
push 0x43c
push esi
call edi
push eax
call ebx
push 0
push 0x441
push esi
call edi
push eax
call ebx
push 0
push 0x444
push esi
call edi
push eax
call ebx
push 0
push 0x449
push esi
call edi
push eax
call ebx
push 0
push 0x44c
push esi
call edi
push eax
call ebx
push 0
push 0x475
push esi
call edi
push eax
call ebx
push 0
push 0x476
push esi
call edi
push eax
call ebx
push 0
push 0x477
push esi
call edi
push eax
call ebx
push 0
push 0x478
push esi
call edi
push eax
call ebx
push 0
push 0x479
push esi
call edi
push eax
call ebx
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002e6c3
add esp, 0x12c
ret 4