Function at 0x10052f90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x100a509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
lea eax, [ebp - 0x68]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x294], esi
mov ebx, edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x7530
push ebx
push 0x10089de4
push str._shop
mov edi, str.config
push edi
mov byte [ebx], 0
call esi
cmp byte [ebx], 0
jne 0x10053000
push dword [ebp - 0x294]
push 0x7530
push ebx
push 0x10089de4
push str._ShopArray
push edi
call esi
push ebx
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x10053021
push 0
push 0
push 0x1009
push dword [0x103cce6c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10098770
push ebx
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, 0x1008a588
jmp 0x10053219
push dword [ebp - 0x2a0]
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x29c], 0
inc eax
mov dword [esp], 0x1008c09c
push dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10053201
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x298], ecx
push eax
push dword [ebp - 0x298]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [ebp - 0x29c]
add dword [ebp - 0x298], 0x32
push 0x1008c09c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
test eax, eax
jne 0x1005307a
cmp dword [ebp - 0x29c], 5
je 0x100530be
cmp dword [ebp - 0x29c], 6
jne 0x10053201
push 0
push 0
push 0x1004
push dword [0x103cce6c]
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, 0x103cce4c
call dword [sym.imp.mfc100.dll_Ordinal_7211]
lea eax, [ebp - 0x164]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10053109
push 0x10089de4
jmp 0x10053110
lea eax, [ebp - 0x164]
push eax
push 1
push 0
push 0
push 0x1004
push dword [0x103cce6c]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cce4c
call dword [sym.imp.mfc100.dll_Ordinal_12440]
lea eax, [ebp - 0x132]
push eax
push 2
push 0
push 0
push 0x1004
push dword [0x103cce6c]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cce4c
call dword [sym.imp.mfc100.dll_Ordinal_12440]
lea eax, [ebp - 0x100]
push eax
push 3
push 0
push 0
push 0x1004
push dword [0x103cce6c]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cce4c
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push 0
push 0
push 0x1004
push dword [0x103cce6c]
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, 0x103cce4c
call dword [sym.imp.mfc100.dll_Ordinal_12170]
cmp dword [ebp - 0x29c], 6
jne 0x10053201
lea eax, [ebp - 0xce]
push eax
push 4
push 0
push 0
push 0x1004
push dword [0x103cce6c]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cce4c
call dword [sym.imp.mfc100.dll_Ordinal_12440]
mov eax, dword [ebp - 0x2a4]
add eax, dword [ebp - 0x2a0]
push 0x10098770
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
mov dword [ebp - 0x2a0], eax
pop ecx
test eax, eax
jne 0x10053037
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, 0x103ccfa8
call dword [sym.imp.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, 0x103cd260
call dword [sym.imp.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 [0x103cd0b0], 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 [0x103cd148], 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 [0x103cd0ac], 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 [0x103cd150], 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 [0x103cd2d4], 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 [0x103cd34c], 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 [0x103cd0b4], 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 [0x103cd0a8], 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 [0x103cd144], 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, 0x103ccdb8
mov dword [0x103cd14c], eax
call dword [sym.imp.mfc100.dll_Ordinal_13219]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
xor ecx, ebp
call fcn.10082395
leave
ret