Function at 0x1005331e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x4ec], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x4f8], eax
lea eax, [ebp - 0x4e8]
push 0x10111b20
push eax
call sub.MSVCR100.dll_strcpy
lea eax, [ebp - 0x4e8]
push str.users.txt
push eax
call sub.MSVCR100.dll_strcat
lea eax, [ebp - 0x4e8]
push 0x1008c7f4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
add esp, 0x18
mov dword [ebp - 0x4fc], eax
test eax, eax
je 0x100534bb
push eax
jmp 0x10053491
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.MSVCR100.dll_fputs]
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
and dword [ebp - 0x4f4], 0
mov edi, 0x1008cd28
lea eax, [ebp - 0x2f4]
push edi
push eax
call esi
add esp, 0x10
test eax, eax
je 0x1005348b
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x4f0], ecx
push eax
push dword [ebp - 0x4f0]
call sub.MSVCR100.dll_strcpy
inc dword [ebp - 0x4f4]
add dword [ebp - 0x4f0], 0x14
push edi
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x100533e1
cmp dword [ebp - 0x4f4], 5
jne 0x1005348b
xor esi, esi
cmp dword [0x103675f0], esi
jle 0x1005348b
mov edi, 0x1035eab8
lea eax, [ebp - 0xd0]
push eax
call ebx
pop ecx
cmp dword [esi*4 + 0x1035e220], eax
jne 0x1005347f
lea eax, [ebp - 0xbc]
push eax
push edi
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1005347f
lea eax, [ebp - 0xa8]
push eax
call ebx
pop ecx
movzx ecx, byte [esi + 0x1035e900]
cmp ecx, eax
jne 0x1005347f
lea eax, [ebp - 0x94]
push eax
call ebx
mov dword [esi*4 + 0x10366678], eax
lea eax, [ebp - 0x80]
push eax
call ebx
pop ecx
mov dword [esi*4 + 0x10366d58], eax
pop ecx
mov byte [esi + 0x10367438], 1
inc esi
add edi, 0x1a
cmp esi, dword [0x103675f0]
jl 0x1005341e
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x2f4]
push 0xc8
push eax
call dword [sym.imp.MSVCR100.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x10053397
push dword [ebp - 0x4fc]
call dword [sym.imp.MSVCR100.dll_fclose]
pop ecx
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push dword [ebp - 0x4ec]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008b74c
push str.MyrwCHECK1
mov edi, str.config
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x4ec]
mov dword [0x103b5674], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.MyrwCHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x4ec]
mov dword [0x103b5c60], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.Myrwedit5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x4ec]
mov dword [0x103b5678], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x100962a0
push str.Myrwedit6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x4ec]
mov dword [0x103b5c64], eax
mov eax, dword [ebp - 0x4f8]
push 0xbb8
push eax
push 0x1008aec4
push str.Mypage38LIST2
push edi
mov byte [eax], 0
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1009
push dword [0x103b53a4]
call esi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
push 0x1008cd28
push dword [ebp - 0x4f8]
jmp 0x100536c2
push dword [ebp - 0x4ec]
call sub.MSVCR100.dll_strlen
and dword [ebp - 0x4f0], 0
inc eax
mov dword [esp], 0x1008cd2c
push dword [ebp - 0x4ec]
mov dword [ebp - 0x4fc], eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x100536b0
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x4f4], ecx
push eax
push dword [ebp - 0x4f4]
call sub.MSVCR100.dll_strcpy
inc dword [ebp - 0x4f0]
add dword [ebp - 0x4f4], 0x32
push 0x1008cd2c
push 0
call edi
add esp, 0x10
test eax, eax
jne 0x100535f7
cmp dword [ebp - 0x4f0], 3
jne 0x100536b0
push eax
push eax
push 0x1004
push dword [0x103b53a4]
call esi
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0xce]
push ecx
push eax
push 1
mov ecx, 0x103b5384
call sub.mfc100.dll_Ordinal_7211
lea eax, [ebp - 0x9c]
push eax
push 2
push 0
push 0
push 0x1004
push dword [0x103b53a4]
call esi
dec eax
push eax
mov ecx, 0x103b5384
call sub.mfc100.dll_Ordinal_12440
push 0
push 0
push 0x1004
push dword [0x103b53a4]
call esi
mov dword [ebp - 0x4f8], eax
lea eax, [ebp - 0x100]
push eax
call ebx
pop ecx
push eax
mov eax, dword [ebp - 0x4f8]
dec eax
push eax
mov ecx, 0x103b5384
call sub.mfc100.dll_Ordinal_12170
mov eax, dword [ebp - 0x4fc]
add eax, dword [ebp - 0x4ec]
push 0x1008cd28
push eax
call edi
pop ecx
mov dword [ebp - 0x4ec], eax
pop ecx
test eax, eax
jne 0x100535b9
push 0
mov ecx, 0x103b52f0
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083e24
leave
ret