Function at 0x100535b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
call fcn.100487b0
push edi
push 0x14c08
push esi
push 0x10094b60
push str.GoodItem
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x64
lea eax, [ebp - 0x150]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x1009e980
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
call esi
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x1bc], edi
test edi, edi
je 0x100538bd
push ebx
jmp 0x10053626
mov edi, dword [ebp - 0x1bc]
mov eax, edi
lea edx, [eax + 1]
jmp 0x10053630
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10053630
sub eax, edx
cmp byte [edi], 0x7c
mov dword [ebp - 0x1c0], eax
jne 0x1005365f
lea eax, [edi + 1]
lea edx, [ebp - 0x24]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10053650
jmp 0x10053893
push 0x64
xor ebx, ebx
lea ecx, [ebp - 0x1b4]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [ebp - 0x150], bl
je 0x1005369a
push edi
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x1b4]
push str._s__s
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x100536ae
lea edx, [ebp - 0x1b4]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100536a4
lea ecx, [ebp - 0x1b4]
push 0x10094b78
push ecx
call esi
add esp, 8
test eax, eax
je 0x10053718
lea esi, [ebp - 0xec]
lea esp, [esp]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100536d4
push 0x10094b78
push 0
inc ebx
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x100536d0
cmp ebx, 1
jne 0x10053718
jmp 0x10053700
mov cl, byte [ebp + eax - 0xec]
mov byte [ebp + eax - 0x150], cl
inc eax
test cl, cl
jne 0x10053700
jmp 0x10053893
mov byte [ebp - 0x150], 0
cmp ebx, 4
jne 0x10053893
mov ebx, dword [0x100ea3a8]
xor esi, esi
test ebx, ebx
jle 0x100537ce
mov dword [ebp - 0x1b8], 0x100d4baa
mov edi, 0x100b1f38
jmp 0x10053750
lea ecx, [ebp - 0xec]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053778
test dl, dl
je 0x10053774
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053778
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053758
xor eax, eax
jmp 0x1005377d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100537b9
mov eax, dword [ebp - 0x1b8]
lea ecx, [ebp - 0x24]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100537b0
test dl, dl
je 0x100537ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100537b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053790
xor eax, eax
jmp 0x100537b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10053820
add dword [ebp - 0x1b8], 0x1e
inc esi
add edi, 0x37
cmp esi, ebx
jl 0x10053750
mov edi, dword [ebp - 0x1bc]
imul ebx, ebx, 0x37
add ebx, 0x100b1f38
lea ecx, [ebp - 0xec]
mov edx, ebx
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100537e0
mov ecx, 0x1009ca58
lea eax, [ebp - 0xba]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100538cd
test dl, dl
je 0x10053819
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100538cd
add eax, 2
add ecx, 2
test dl, dl
jne 0x100537f5
xor eax, eax
jmp 0x100538d2
mov edi, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0xba]
push edx
call edi
mov ebx, eax
lea eax, [ebp - 0x88]
push eax
call edi
lea ecx, [ebp - 0x56]
push ecx
mov dword [ebp - 0x1b8], eax
call edi
movzx edx, byte [esi + 0x100e7b2e]
add esp, 0xc
cmp edx, ebx
jne 0x1005386e
movzx ecx, byte [esi + 0x100e854c]
cmp ecx, dword [ebp - 0x1b8]
jne 0x1005386e
movzx edx, byte [esi + 0x100e8f6a]
cmp edx, eax
je 0x1005388d
mov cl, byte [ebp - 0x1b8]
mov byte [esi + 0x100e7b2e], bl
mov byte [esi + 0x100e854c], cl
mov byte [esi + 0x100e8f6a], al
mov byte [esi + 0x100e9988], 0
mov edi, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1c0]
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
lea edx, [ecx + edi + 1]
push 0x1009e980
push edx
call esi
add esp, 8
mov dword [ebp - 0x1bc], eax
test eax, eax
jne 0x10053620
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10086746
mov esp, ebp
pop ebp
ret
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [0x100ea3a8]
sete dl
mov byte [eax + 0x100e7b2e], dl
mov ecx, 0x1009ca58
lea eax, [ebp - 0x88]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053910
test dl, dl
je 0x1005390c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053910
add eax, 2
add ecx, 2
test dl, dl
jne 0x100538f0
xor eax, eax
jmp 0x10053915
sbb eax, eax
sbb eax, 0xffffffff
mov edx, dword [0x100ea3a8]
test eax, eax
sete cl
mov byte [edx + 0x100e854c], cl
mov ecx, 0x1009ca58
lea eax, [ebp - 0x56]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053950
test dl, dl
je 0x1005394c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053950
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053930
xor eax, eax
jmp 0x10053955
sbb eax, eax
sbb eax, 0xffffffff
mov ecx, dword [0x100ea3a8]
test eax, eax
sete al
mov byte [ecx + 0x100e8f6a], al
mov eax, dword [0x100ea3a8]
mov edx, eax
shl edx, 4
sub edx, eax
lea ecx, [ebp - 0x24]
lea edx, [edx*2 + 0x100d4baa]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10053980
mov eax, dword [0x100ea3a8]
mov byte [eax + 0x100e9988], 0
inc dword [0x100ea3a8]
jmp 0x10053893