Function at 0x10014fe8
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x12c
mov eax, dword [0x100644ac]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
push edi
mov dword [0x10067df4], esi
call fcn.1001dab0
push eax
push str.__wnschool_d.ini
push 0xff
lea eax, [esp + 0x44]
push 0xff
push eax
call fcn.10025723
push 0x11c
xor edi, edi
push edi
push 0x10067b90
call fcn.10024d90
add esp, 0x20
lea ecx, [esp + 0x38]
push ecx
push 0x11c
push 0x10067b90
push 0x1003820c
push str.school
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push 6
mov dword [0x10067c8c], edi
mov dword [0x10067c90], 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.0x10014c5d
jmp dword [eax*4 + 0x10015348]
push 0x10037798
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x10067c00
push ebp
push 0
push 0x10067b9c
push edx
call fcn.10012830
mov eax, dword [esp + 0x28]
push 0x10067c04
push ebp
push 0
push 0x10067ba0
push eax
call fcn.10012830
mov ecx, dword [esp + 0x2c]
push 0x10067c08
push ebp
push 0
push 0x10067ba4
push ecx
call fcn.10012830
mov edx, dword [esp + 0x30]
push 0x10067c0c
push ebp
push 0
push 0x10067ba8
push edx
call fcn.10012830
mov eax, dword [esp + 0x34]
push 0x10067c10
push ebp
push 0
push 0x10067bac
push eax
call fcn.10012830
mov ecx, dword [0x10067c28]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c2c]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x10067c30]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x10067c34]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c38]
jmp 0x100150c4
push 0x10037790
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x10067c00
push ebp
push 0
push 0x10067bb0
push edx
call fcn.10012830
mov eax, dword [esp + 0x28]
push 0x10067c04
push ebp
push 0
push 0x10067bb4
push eax
call fcn.10012830
mov ecx, dword [esp + 0x2c]
push 0x10067c08
push ebp
push 0
push 0x10067bb8
push ecx
call fcn.10012830
mov edx, dword [esp + 0x30]
push 0x10067c0c
push ebp
push 0
push 0x10067bbc
push edx
call fcn.10012830
mov eax, dword [esp + 0x34]
push 0x10067c10
push ebp
push 0
push 0x10067bc0
push eax
call fcn.10012830
mov ecx, dword [0x10067c3c]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c40]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x10067c44]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x10067c48]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c4c]
jmp 0x100150c4
push 0x10037788
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x10067c00
push ebp
push 0
push 0x10067bc4
push edx
call fcn.10012830
mov eax, dword [esp + 0x28]
push 0x10067c04
push ebp
push 0
push 0x10067bc8
push eax
call fcn.10012830
mov ecx, dword [esp + 0x2c]
push 0x10067c08
push ebp
push 0
push 0x10067bcc
push ecx
call fcn.10012830
mov edx, dword [esp + 0x30]
push 0x10067c0c
push ebp
push 0
push 0x10067bd0
push edx
call fcn.10012830
mov eax, dword [esp + 0x34]
push 0x10067c10
push ebp
push 0
push 0x10067bd4
push eax
call fcn.10012830
mov ecx, dword [0x10067c50]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c54]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x10067c58]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x10067c5c]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c60]
jmp 0x100150c4
push 0x10037780
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x10067c00
push ebp
push 0
push 0x10067bd8
push edx
call fcn.10012830
mov eax, dword [esp + 0x28]
push 0x10067c04
push ebp
push 0
push 0x10067bdc
push eax
call fcn.10012830
mov ecx, dword [esp + 0x2c]
push 0x10067c08
push ebp
push 0
push 0x10067be0
push ecx
call fcn.10012830
mov edx, dword [esp + 0x30]
push 0x10067c0c
push ebp
push 0
push 0x10067be4
push edx
call fcn.10012830
mov eax, dword [esp + 0x34]
push 0x10067c10
push ebp
push 0
push 0x10067be8
push eax
call fcn.10012830
mov ecx, dword [0x10067c64]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c68]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x10067c6c]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x10067c70]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c74]
jmp 0x100150c4
push 0x10037778
push 0x439
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esp + 0x24]
push 0x10067c00
push ebp
push 0
push 0x10067bec
push edx
call fcn.10012830
mov eax, dword [esp + 0x28]
push 0x10067c04
push ebp
push 0
push 0x10067bf0
push eax
call fcn.10012830
mov ecx, dword [esp + 0x2c]
push 0x10067c08
push ebp
push 0
push 0x10067bf4
push ecx
call fcn.10012830
mov edx, dword [esp + 0x30]
push 0x10067c0c
push ebp
push 0
push 0x10067bf8
push edx
call fcn.10012830
mov eax, dword [esp + 0x34]
push 0x10067c10
push ebp
push 0
push 0x10067bfc
push eax
call fcn.10012830
mov ecx, dword [0x10067c78]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c7c]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x10067c80]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x10067c84]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push 0xf1
push edx
call ebx
mov eax, dword [0x10067c88]
mov ecx, dword [esp + 0x20]
push 0
push eax
push 0xf1
push ecx
call ebx
mov eax, dword [0x10067b98]
cmp eax, 0x3e8
jae 0x100150e9
mov eax, 0x3e8
mov dword [0x10067b98], eax
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push eax
push 0x446
push esi
call ebp
mov edx, dword [0x100683e4]
push 0
push edx
push 0x4bc
push esi
call ebp
mov eax, dword [0x100683e8]
push 0
push eax
push 0x4bd
push esi
call ebp
mov ecx, dword [0x10067ca8]
push 0
push ecx
push 0x44d
push esi
call ebp
push 0x43d
push esi
call edi
mov edx, dword [0x10067b90]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x400
push esi
call edi
mov ecx, dword [0x10067ca4]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x4b2
push esi
call edi
mov edx, dword [0x10068318]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x4b1
push esi
call edi
mov ecx, dword [0x100683d8]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x4b3
push esi
call edi
mov edx, dword [0x100683dc]
push 0
push edx
push 0xf1
push eax
call ebx
xor eax, eax
cmp dword [0x100683e0], 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 [0x1006b030], ebp
jne 0x100151eb
mov dword [0x10067b94], 0
mov ecx, dword [0x10067b94]
push 0
push ecx
push 0xf1
push eax
call ebx
cmp dword [0x1006b030], ebp
jne 0x1001532c
push 0
push 0x419
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x43e
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.100248f3
add esp, 0x12c
ret 4