Function at 0x100541d7
Capabilities:
Read .ini file

Disassembly:
push 0x120
mov eax, 0x100836d3
call fcn.1008296f
mov eax, dword [ebp + 8]
push 0x64
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x74]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x110], esi
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK1
mov ebx, str.config
push ebx
call edi
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca338], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a578
push str.D11CHECK2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb6b0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca33c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK4
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca340], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca588], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca58c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK7
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5a0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK8
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca598], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK9
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5a4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK10
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5a8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK11
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5ac], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK12
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5b4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK13
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5b8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK14
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5b0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK15
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5c0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK16
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5c8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK17
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5d0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK18
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5d4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK19
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5dc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK20
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5e0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK21
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5e8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK22
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5f0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK23
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb7b4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK25
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5ec], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11CHECK26
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cafec], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x10099524
push str.D11EDIT1
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
test eax, eax
jne 0x100545e0
mov dword [0x103ca334], 0x1f4
jmp 0x100545ec
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
mov dword [0x103ca334], eax
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008a588
push str.D11EDIT2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca344], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11EDIT3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca590], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11EDIT5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca594], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11EDIT6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5bc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11EDIT7
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5cc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11EDIT8
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5d8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11EDIT9
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5e4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11COMBO16
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca59c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D11COMBO17
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
mov esi, dword [ebp - 0x11c]
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ca5c4], eax
push 0x88b8
push esi
push 0x10089de4
push str.D11LIST1
push ebx
mov byte [esi], 0
call edi
push 0
push 0
push 0x184
push dword [0x103ca3dc]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100928d0
push esi
jmp 0x10054793
push eax
push 0
push 0x180
push dword [0x103ca3dc]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100928d0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10054778
push dword [ebp - 0x110]
mov byte [esi], 0
push 0x88b8
push esi
push 0x10089de4
push str.D11LIST4
push ebx
call edi
push 0
push 0
push 0x184
push dword [0x103ca368]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100928d0
push esi
jmp 0x100547f3
push eax
push 0
push 0x180
push dword [0x103ca368]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100928d0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x100547d8
push dword [ebp - 0x110]
mov byte [esi], 0
push 0x88b8
push esi
push 0x10089de4
push str.GL_XY
push ebx
call edi
lea esi, [ebp - 0x12c]
call fcn.1000113d
and dword [ebp - 4], 0
call section..text
push 0x1008c09c
push dword [ebp - 0x11c]
jmp 0x1005484f
push eax
lea esi, [ebp - 0x12c]
call fcn.100010da
push 0x1008c09c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x1005483c
xor esi, esi
xor eax, eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x124], esi
jle 0x100549a1
mov ecx, dword [ebp - 0x12c]
push dword [ecx + eax*4]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x10c]
push 0x100928d0
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
mov dword [ebp - 0x114], esi
jmp 0x10054980
cmp dword [ebp - 0x114], esi
jne 0x100548bf
push eax
call fcn.10006e29
mov esi, 0x103d5e6c
jmp 0x10054963
cmp dword [ebp - 0x114], 1
jne 0x1005494e
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0x118], esi
call dword [sym.imp.MSVCR100.dll_strlen]
add esp, 0xc
test eax, eax
je 0x1005496a
cmp byte [ebp + esi - 0xa8], 0x2e
lea eax, [ebp - 0xa8]
push eax
je 0x10054919
inc esi
mov dword [ebp - 0x118], esi
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
cmp esi, eax
jb 0x100548f4
jmp 0x1005496a
mov byte [ebp + esi - 0xa8], 0
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push eax
mov esi, 0x103d5e78
call fcn.1000117c
mov eax, dword [ebp - 0x118]
lea eax, [ebp + eax - 0xa7]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov esi, 0x103d5e84
jmp 0x10054963
cmp dword [ebp - 0x114], 2
jne 0x1005496a
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov esi, 0x103d5e90
pop ecx
push eax
call fcn.1000117c
push 0x100928d0
xor esi, esi
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
inc dword [ebp - 0x114]
pop ecx
pop ecx
cmp eax, esi
jne 0x100548a7
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp eax, dword [ebp - 0x124]
jl 0x10054871
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008a588
push str.D37CHECK1
push ebx
call edi
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ced44], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37CHECK2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cee88], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37CHECK3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ced48], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37CHECK4
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cee8c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37CHECK5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cee90], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37CHECK6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cef14], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37EDIT1
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ced4c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37EDIT2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cee94], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37EDIT3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ced50], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37EDIT5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ced58], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37EDIT6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103ced54], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008a588
push str.D37COMBO1
push ebx
call edi
push 0xbb8
mov ecx, 0x103cecb0
call dword [sym.imp.mfc100.dll_Ordinal_4785]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push 0
push eax
mov eax, dword [ebp - 0x114]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008a588
push str.D37COMBO4
push ebx
call edi
push 0xbbb
mov ecx, 0x103cecb0
call dword [sym.imp.mfc100.dll_Ordinal_4785]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push 0
push eax
mov eax, dword [ebp - 0x114]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x110]
mov eax, dword [ebp - 0x11c]
push 0xbb8
push eax
push 0x10089de4
push 0x100993a4
push ebx
mov byte [eax], 0
call edi
push dword [ebp - 0x11c]
and dword [ebp - 0x114], 0
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, 0xfffffffc
jbe 0x10054cf2
push 0
push 0
push 0x18b
push dword [0x103cee2c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x114]
cmp ecx, eax
jge 0x10054cd0
mov eax, dword [ebp - 0x11c]
mov al, byte [eax + ecx*4]
mov byte [ebp - 0x118], al
lea eax, [ebp - 0x118]
push eax
mov byte [ebp - 0x117], 0
call esi
pop ecx
push eax
push dword [ebp - 0x114]
mov ecx, 0x103cee0c
call dword [sym.imp.mfc100.dll_Ordinal_12168]
lea eax, [ebp - 0x118]
push eax
call esi
test eax, eax
mov eax, dword [ebp - 0x114]
setne cl
mov byte [eax + 0x10374430], cl
mov ecx, dword [ebp - 0x11c]
mov al, byte [ecx + eax*4 + 2]
mov byte [ebp - 0x118], al
lea eax, [ebp - 0x118]
push eax
call esi
pop ecx
pop ecx
push eax
push dword [ebp - 0x114]
mov ecx, 0x103cee98
call dword [sym.imp.mfc100.dll_Ordinal_12168]
lea eax, [ebp - 0x118]
push eax
call esi
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x114]
setne al
mov byte [ecx + 0x1037446c], al
push dword [ebp - 0x11c]
inc dword [ebp - 0x114]
call dword [sym.imp.MSVCR100.dll_strlen]
shr eax, 2
pop ecx
cmp dword [ebp - 0x114], eax
jb 0x10054c19
push dword [ebp - 0x110]
mov esi, dword [ebp - 0x11c]
push 0xbb8
push esi
push 0x10089de4
push str.PKGOOD
push ebx
mov byte [esi], 0
call edi
push 0x1008c09c
push esi
jmp 0x10054d2e
push eax
mov esi, 0x103d6154
call fcn.100010da
push 0x1008c09c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10054d1c
push dword [0x103ca2c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_13219]
cmp eax, 1
jne 0x10054d5a
push 0
mov ecx, 0x103ca2a0
call esi
push 0
mov ecx, 0x103cecb0
call esi
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x12c]
call fcn.1000114d
call fcn.100829f2
ret