Function at 0x10053b32
Capabilities:
Read .ini file

Disassembly:
push 0x120
mov eax, 0x10087806
call fcn.10083e9c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x64
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 0x110], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK1
mov edi, str.config
push edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103af8a8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b754
push str.D11CHECK2
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b0c20], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK3
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103af8ac], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK4
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103af8b0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK5
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afaf8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK6
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afafc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK7
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb10], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK8
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb08], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK9
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb14], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK10
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb18], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK11
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb1c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK12
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb24], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK13
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb28], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK14
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb20], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK15
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb30], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK16
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb38], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK17
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb40], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK18
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb44], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK19
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb4c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK20
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb50], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK21
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb58], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK22
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb60], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK23
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b0d24], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK25
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb5c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11CHECK26
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b055c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1009a898
push str.D11EDIT1
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
test eax, eax
jne 0x10053f3c
mov dword [0x103af8a4], 0x1f4
jmp 0x10053f48
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
mov dword [0x103af8a4], eax
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008b74c
push str.D11EDIT2
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103af8b4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11EDIT3
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb00], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11EDIT5
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb04], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11EDIT6
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb2c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11EDIT7
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb3c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11EDIT8
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb48], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11EDIT9
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb54], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11COMBO16
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb0c], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D11COMBO17
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103afb34], eax
mov eax, dword [ebp - 0x118]
push 0x88b8
push eax
push 0x1008aec4
push str.D11LIST1
push edi
mov byte [eax], 0
call esi
push 0
push 0
push 0x184
push dword [0x103af94c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10093a5c
push dword [ebp - 0x118]
jmp 0x100540f4
push eax
push 0
push 0x180
push dword [0x103af94c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10093a5c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x100540d9
push dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
push 0x88b8
push eax
push 0x1008aec4
push str.D11LIST4
push edi
mov byte [eax], 0
call esi
push 0
push 0
push 0x184
push dword [0x103af8d8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10093a5c
push dword [ebp - 0x118]
jmp 0x1005415f
push eax
push 0
push 0x180
push dword [0x103af8d8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10093a5c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10054144
push dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
push 0x88b8
push eax
push 0x1008aec4
push str.GL_XY
push edi
mov byte [eax], 0
call esi
lea ecx, [ebp - 0x12c]
call fcn.10001140
and dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call section..text
push 0x1008cd28
push dword [ebp - 0x118]
jmp 0x100541c1
push eax
call fcn.100010dc
push 0x1008cd28
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
lea ecx, [ebp - 0x12c]
test eax, eax
jne 0x100541b4
and dword [ebp - 0x120], 0
call fcn.10001036
test eax, eax
jle 0x10054326
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x120]
push dword [eax + ecx*4]
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCR100.dll_strcpy
lea eax, [ebp - 0x10c]
push 0x10093a5c
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
and dword [ebp - 0x114], 0
jmp 0x10054301
cmp dword [ebp - 0x114], 0
jne 0x1005423d
push eax
call fcn.10006846
pop ecx
mov ecx, 0x103bb3dc
jmp 0x100542e6
cmp dword [ebp - 0x114], 1
jne 0x100542d4
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCR100.dll_strcpy
and dword [ebp - 0x11c], 0
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCR100.dll_strlen
add esp, 0xc
test eax, eax
je 0x100542ec
mov eax, dword [ebp - 0x11c]
cmp byte [ebp + eax - 0xa8], 0x2e
je 0x1005429f
inc eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCR100.dll_strlen
pop ecx
cmp dword [ebp - 0x11c], eax
jb 0x10054271
jmp 0x100542ec
mov byte [ebp + eax - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
call ebx
pop ecx
push eax
mov ecx, 0x103bb3e8
call fcn.10001186
mov eax, dword [ebp - 0x11c]
lea eax, [ebp + eax - 0xa7]
push eax
call ebx
pop ecx
mov ecx, 0x103bb3f4
jmp 0x100542e6
cmp dword [ebp - 0x114], 2
jne 0x100542ec
push eax
call ebx
pop ecx
mov ecx, 0x103bb400
push eax
call fcn.10001186
push 0x10093a5c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
inc dword [ebp - 0x114]
pop ecx
pop ecx
test eax, eax
jne 0x10054223
inc dword [ebp - 0x120]
lea ecx, [ebp - 0x12c]
call fcn.10001036
cmp dword [ebp - 0x120], eax
jl 0x100541e7
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008b74c
push str.D37CHECK1
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b42b4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37CHECK2
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b43f8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37CHECK3
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b42b8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37CHECK4
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b43fc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37CHECK5
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b4400], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37CHECK6
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b4484], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37EDIT1
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b42bc], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37EDIT2
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b4404], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37EDIT3
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b42c0], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37EDIT5
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b42c8], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37EDIT6
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push dword [ebp - 0x110]
mov dword [0x103b42c4], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1008b74c
push str.D37COMBO1
push edi
call esi
push 0xbb8
mov ecx, 0x103b4220
call sub.mfc100.dll_Ordinal_4785
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push 0
push eax
push 0x14e
mov eax, dword [ebp - 0x120]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x110]
lea eax, [ebp - 0x74]
push 0x64
push eax
push 0x1008b74c
push str.D37COMBO4
push edi
call esi
push 0xbbb
mov ecx, 0x103b4220
call sub.mfc100.dll_Ordinal_4785
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x74]
push eax
call ebx
pop ecx
push 0
push eax
mov eax, dword [ebp - 0x120]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
push 0xbb8
push eax
push 0x1008aec4
push 0x1009a528
push edi
mov byte [eax], 0
call esi
push dword [ebp - 0x118]
and dword [ebp - 0x114], 0
call sub.MSVCR100.dll_strlen
pop ecx
test eax, 0xfffffffc
jbe 0x1005466b
push 0
push 0
push 0x18b
push dword [0x103b439c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x114]
cmp ecx, eax
jge 0x1005464a
mov eax, dword [ebp - 0x118]
mov al, byte [eax + ecx*4]
mov byte [ebp - 0x11c], al
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 0x11b], 0
call ebx
pop ecx
push eax
push dword [ebp - 0x114]
mov ecx, 0x103b437c
call sub.mfc100.dll_Ordinal_12168
lea eax, [ebp - 0x11c]
push eax
call ebx
test eax, eax
mov eax, dword [ebp - 0x114]
setne cl
mov byte [eax + 0x10358790], cl
mov ecx, dword [ebp - 0x118]
mov al, byte [ecx + eax*4 + 2]
mov byte [ebp - 0x11c], al
lea eax, [ebp - 0x11c]
push eax
call ebx
pop ecx
pop ecx
push eax
push dword [ebp - 0x114]
mov ecx, 0x103b4408
call sub.mfc100.dll_Ordinal_12168
lea eax, [ebp - 0x11c]
push eax
call ebx
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x114]
setne al
mov byte [ecx + 0x103587cc], al
push dword [ebp - 0x118]
inc dword [ebp - 0x114]
call sub.MSVCR100.dll_strlen
shr eax, 2
pop ecx
cmp dword [ebp - 0x114], eax
jb 0x10054595
push dword [ebp - 0x110]
mov ebx, dword [ebp - 0x118]
push 0xbb8
push ebx
push 0x1008aec4
push str.PKGOOD
push edi
mov byte [ebx], 0
call esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
mov edi, 0x1008cd28
push edi
push ebx
call esi
xor ebx, ebx
jmp 0x100546af
push eax
mov ecx, 0x103bb6c4
call fcn.100010dc
push edi
push ebx
call esi
pop ecx
pop ecx
cmp eax, ebx
jne 0x100546a0
push dword [0x103af830]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, 0x103af810
cmp eax, 1
jne 0x100546d3
push ebx
mov ecx, esi
call sub.mfc100.dll_Ordinal_13219
mov ecx, esi
call fcn.10014a37
push ebx
mov ecx, 0x103b4220
call sub.mfc100.dll_Ordinal_13219
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10001154
call fcn.10083f1f
ret