Function at 0x10053b40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x100a609c]
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 0x1008ade4
push str._shop
mov edi, str.config
push edi
mov byte [ebx], 0
call esi
cmp byte [ebx], 0
jne 0x10053bb0
push dword [ebp - 0x294]
push 0x7530
push ebx
push 0x1008ade4
push str._ShopArray
push edi
call esi
push ebx
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x10053bd1
push 0
push 0
push 0x1009
push dword [0x103cdfe4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10099b04
push ebx
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, 0x1008b588
jmp 0x10053dc9
push dword [ebp - 0x2a0]
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x29c], 0
inc eax
mov dword [esp], 0x1008d094
push dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10053db1
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 0x1008d094
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
test eax, eax
jne 0x10053c2a
cmp dword [ebp - 0x29c], 5
je 0x10053c6e
cmp dword [ebp - 0x29c], 6
jne 0x10053db1
push 0
push 0
push 0x1004
push dword [0x103cdfe4]
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, 0x103cdfc4
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 0x10053cb9
push 0x1008ade4
jmp 0x10053cc0
lea eax, [ebp - 0x164]
push eax
push 1
push 0
push 0
push 0x1004
push dword [0x103cdfe4]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cdfc4
call dword [sym.imp.mfc100.dll_Ordinal_12440]
lea eax, [ebp - 0x132]
push eax
push 2
push 0
push 0
push 0x1004
push dword [0x103cdfe4]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cdfc4
call dword [sym.imp.mfc100.dll_Ordinal_12440]
lea eax, [ebp - 0x100]
push eax
push 3
push 0
push 0
push 0x1004
push dword [0x103cdfe4]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cdfc4
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push 0
push 0
push 0x1004
push dword [0x103cdfe4]
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, 0x103cdfc4
call dword [sym.imp.mfc100.dll_Ordinal_12170]
cmp dword [ebp - 0x29c], 6
jne 0x10053db1
lea eax, [ebp - 0xce]
push eax
push 4
push 0
push 0
push 0x1004
push dword [0x103cdfe4]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, 0x103cdfc4
call dword [sym.imp.mfc100.dll_Ordinal_12440]
mov eax, dword [ebp - 0x2a4]
add eax, dword [ebp - 0x2a0]
push 0x10099b04
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
mov dword [ebp - 0x2a0], eax
pop ecx
test eax, eax
jne 0x10053be7
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, 0x103ce120
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, 0x103ce3d8
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 [0x103ce228], 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 [0x103ce2c0], 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 [0x103ce224], 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 [0x103ce2c8], 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 [0x103ce44c], 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 [0x103ce4c4], 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 [0x103ce22c], 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 [0x103ce220], 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 [0x103ce2bc], 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, 0x103cdf30
mov dword [0x103ce2c4], 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.1008344f
leave
ret