Function at 0x10054d87
Capabilities:
Read .ini file

Disassembly:
push 0x120
mov eax, 0x1008452e
call fcn.10083a29
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 0x1008b588
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 [0x103cb4b0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b578
push str.D11CHECK2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cc828], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb4b4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK4
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb4b8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb700], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb704], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK7
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb718], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK8
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb710], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK9
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb71c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK10
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb720], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK11
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb724], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK12
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb72c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK13
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb730], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK14
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb728], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK15
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb738], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK16
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb740], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK17
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb748], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK18
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb74c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK19
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb754], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK20
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb758], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK21
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb760], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK22
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb768], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK23
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cc92c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK25
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb764], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11CHECK26
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cc164], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1009a8e0
push str.D11EDIT1
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
test eax, eax
jne 0x10055190
mov dword [0x103cb4ac], 0x1f4
jmp 0x1005519c
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
mov dword [0x103cb4ac], eax
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008b588
push str.D11EDIT2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb4bc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11EDIT3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb708], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11EDIT5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb70c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11EDIT6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb734], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11EDIT7
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb744], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11EDIT8
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb750], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11EDIT9
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb75c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D11COMBO16
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cb714], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
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 [0x103cb73c], eax
push 0x88b8
push esi
push 0x1008ade4
push str.D11LIST1
push ebx
mov byte [esi], 0
call edi
push 0
push 0
push 0x184
push dword [0x103cb554]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100938e0
push esi
jmp 0x10055343
push eax
push 0
push 0x180
push dword [0x103cb554]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100938e0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10055328
push dword [ebp - 0x110]
mov byte [esi], 0
push 0x88b8
push esi
push 0x1008ade4
push str.D11LIST4
push ebx
call edi
push 0
push 0
push 0x184
push dword [0x103cb4e0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100938e0
push esi
jmp 0x100553a3
push eax
push 0
push 0x180
push dword [0x103cb4e0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100938e0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10055388
push dword [ebp - 0x110]
mov byte [esi], 0
push 0x88b8
push esi
push 0x1008ade4
push str.GL_XY
push ebx
call edi
lea esi, [ebp - 0x12c]
call fcn.1000116c
and dword [ebp - 4], 0
call fcn.1000102f
push 0x1008d094
push dword [ebp - 0x11c]
jmp 0x100553ff
push eax
lea esi, [ebp - 0x12c]
call fcn.10001109
push 0x1008d094
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x100553ec
xor esi, esi
xor eax, eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x124], esi
jle 0x10055551
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 0x100938e0
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
mov dword [ebp - 0x114], esi
jmp 0x10055530
cmp dword [ebp - 0x114], esi
jne 0x1005546f
push eax
call fcn.10006e2e
mov esi, 0x103d70e8
jmp 0x10055513
cmp dword [ebp - 0x114], 1
jne 0x100554fe
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 0x1005551a
cmp byte [ebp + esi - 0xa8], 0x2e
lea eax, [ebp - 0xa8]
push eax
je 0x100554c9
inc esi
mov dword [ebp - 0x118], esi
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
cmp esi, eax
jb 0x100554a4
jmp 0x1005551a
mov byte [ebp + esi - 0xa8], 0
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push eax
mov esi, 0x103d70f4
call fcn.1000117c
mov eax, dword [ebp - 0x118]
lea eax, [ebp + eax - 0xa7]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov esi, 0x103d7100
jmp 0x10055513
cmp dword [ebp - 0x114], 2
jne 0x1005551a
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov esi, 0x103d710c
pop ecx
push eax
call fcn.1000117c
push 0x100938e0
xor esi, esi
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
inc dword [ebp - 0x114]
pop ecx
pop ecx
cmp eax, esi
jne 0x10055457
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp eax, dword [ebp - 0x124]
jl 0x10055421
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008b588
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 [0x103cfebc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37CHECK2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103d0000], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37CHECK3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cfec0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37CHECK4
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103d0004], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37CHECK5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103d0008], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37CHECK6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103d008c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37EDIT1
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cfec4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37EDIT2
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103d000c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37EDIT3
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cfec8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37EDIT5
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cfed0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37EDIT6
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
call esi
pop ecx
push dword [ebp - 0x110]
mov dword [0x103cfecc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b588
push str.D37COMBO1
push ebx
call edi
push 0xbb8
mov ecx, 0x103cfe28
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 0x1008b588
push str.D37COMBO4
push ebx
call edi
push 0xbbb
mov ecx, 0x103cfe28
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 0x1008ade4
push 0x1009a760
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 0x100558a2
push 0
push 0
push 0x18b
push dword [0x103cffa4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x114]
cmp ecx, eax
jge 0x10055880
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, 0x103cff84
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 + 0x103754b8], 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, 0x103d0010
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 + 0x103754f4], 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 0x100557c9
push dword [ebp - 0x110]
mov esi, dword [ebp - 0x11c]
push 0xbb8
push esi
push 0x1008ade4
push str.PKGOOD
push ebx
mov byte [esi], 0
call edi
push 0x1008d094
push esi
jmp 0x100558de
push eax
mov esi, 0x103d73d0
call fcn.10001109
push 0x1008d094
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x100558cc
push dword [0x103cb438]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_13219]
cmp eax, 1
jne 0x1005590a
push 0
mov ecx, 0x103cb418
call esi
push 0
mov ecx, 0x103cfe28
call esi
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x12c]
call section..text
call fcn.10083aac
ret