Function at 0x10052948
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
mov dword [ebp - 0x294], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x7530
push ebx
push 0x1008aec4
push str._shop
mov edi, str.config
push edi
mov byte [ebx], 0
call esi
cmp byte [ebx], 0
jne 0x100529ba
push dword [ebp - 0x294]
push 0x7530
push ebx
push 0x1008aec4
push str._ShopArray
push edi
call esi
push ebx
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x100529da
push 0
push 0
push 0x1009
push dword [0x103b23dc]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10098b98
push ebx
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, 0x1008b74c
jmp 0x10052bc9
push dword [ebp - 0x2a0]
call sub.MSVCR100.dll_strlen
and dword [ebp - 0x29c], 0
inc eax
mov dword [esp], 0x1008cd08
push dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10052bb1
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x298], ecx
push eax
push dword [ebp - 0x298]
call sub.MSVCR100.dll_strcpy
inc dword [ebp - 0x29c]
add dword [ebp - 0x298], 0x32
push 0x1008cd08
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
test eax, eax
jne 0x10052a32
cmp dword [ebp - 0x29c], 5
je 0x10052a75
cmp dword [ebp - 0x29c], 6
jne 0x10052bb1
push 0
push 0
push 0x1004
push dword [0x103b23dc]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x196]
push ecx
push eax
push 1
mov ecx, 0x103b23bc
call sub.mfc100.dll_Ordinal_7211
lea eax, [ebp - 0x164]
push ebx
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10052abe
push 0x1008aec4
jmp 0x10052ac5
lea eax, [ebp - 0x164]
push eax
push 1
push 0
push 0
push 0x1004
push dword [0x103b23dc]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103b23bc
call sub.mfc100.dll_Ordinal_12440
lea eax, [ebp - 0x132]
push eax
push 2
push 0
push 0
push 0x1004
push dword [0x103b23dc]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103b23bc
call sub.mfc100.dll_Ordinal_12440
lea eax, [ebp - 0x100]
push eax
push 3
push 0
push 0
push 0x1004
push dword [0x103b23dc]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103b23bc
call sub.mfc100.dll_Ordinal_12440
push 0
push 0
push 0x1004
push dword [0x103b23dc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x1c8]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
neg eax
sbb eax, eax
pop ecx
neg eax
push eax
mov eax, dword [ebp - 0x298]
dec eax
push eax
mov ecx, 0x103b23bc
call sub.mfc100.dll_Ordinal_12170
cmp dword [ebp - 0x29c], 6
jne 0x10052bb1
lea eax, [ebp - 0xce]
push eax
push 4
push 0
push 0
push 0x1004
push dword [0x103b23dc]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103b23bc
call sub.mfc100.dll_Ordinal_12440
mov eax, dword [ebp - 0x2a4]
add eax, dword [ebp - 0x2a0]
push 0x10098b98
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
mov dword [ebp - 0x2a0], eax
pop ecx
test eax, eax
jne 0x100529f0
push dword [ebp - 0x294]
lea eax, [ebp - 0x290]
push 0xc8
push eax
push ebx
push str.D18CEDIT5
push edi
call esi
lea eax, [ebp - 0x290]
push eax
mov ecx, 0x103b2518
call sub.mfc100.dll_Ordinal_12868
push dword [ebp - 0x294]
lea eax, [ebp - 0x290]
push 0xc8
push eax
push str.10000
push str.D18CEDIT8
push edi
call esi
lea eax, [ebp - 0x290]
push eax
mov ecx, 0x103b27d0
call sub.mfc100.dll_Ordinal_12868
push dword [ebp - 0x294]
lea eax, [ebp - 0x68]
push 0x64
push eax
push ebx
push str.D18CHECK1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b2620], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18CHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b26b8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18CHECK3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b261c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18CHECK4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b26c0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18CHECK5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b2844], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str._CHECK6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b28bc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18EDIT3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b2624], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18EDIT4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b2618], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18EDIT6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x294]
mov dword [0x103b26b4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push ebx
push str.D18EDIT7
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push 0
mov ecx, 0x103b2328
mov dword [0x103b26bc], eax
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
xor ecx, ebp
call fcn.10083a34
leave
ret