Function at 0x48f380
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x4d4e88]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x858], ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x868], eax
push 0
lea ecx, [ebp - 0x851]
mov eax, 0x4c11c8
test edi, edi
cmovne eax, edi
push ecx
push eax
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
mov dword [ebp - 0x864], eax
call fcn.00403fb0
lea eax, [ebx + 8]
mov ecx, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x860], eax
call fcn.0048f090
mov ecx, dword [ebp - 0x6e4]
mov ebx, eax
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x48f435
test eax, eax
jne 0x48f45d
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push ebx
push 0
push str.BUTTONS
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x884], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00401ac0
push 0x63
lea eax, [ebp - 0xd7]
push 0
push eax
mov byte [ebp - 0xd8], 0
call fcn.00459250
push 0x63
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.00459250
push 0x3e7
lea eax, [ebp - 0x4bf]
push 0
push eax
mov byte [ebp - 0x4c0], 0
call fcn.00459250
push 0x103
lea eax, [ebp - 0x6c7]
push 0
push eax
mov byte [ebp - 0x6c8], 0
call fcn.00459250
push 0x103
lea eax, [ebp - 0x5c3]
push 0
push eax
mov byte [ebp - 0x5c4], 0
call fcn.00459250
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
add esp, 0x3c
push 8
call ebx
push 0x11
call ebx
push 1
lea eax, [ebp - 0x851]
push eax
push edi
lea ecx, [ebp - 0x7e8]
call fcn.00403fb0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 1
mov dword [ebp - 0x728], 0x4c13c8
mov dword [ebp - 0x700], 0x4c13f8
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x6fc], eax
xor eax, eax
mov word [ebp - 0x724], ax
mov dword [ebp - 0x70c], eax
mov dword [ebp - 0x708], eax
mov dword [ebp - 0x704], eax
mov eax, dword [ebp - 0x700]
mov dword [ebp - 0x710], 7
mov dword [ebp - 0x714], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x700]
call esi
mov dword [ebp - 0x758], 0x4c13c8
mov dword [ebp - 0x730], 0x4c13f8
call ebx
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x740], 7
xor eax, eax
mov word [ebp - 0x754], ax
mov dword [ebp - 0x73c], eax
mov dword [ebp - 0x738], eax
mov dword [ebp - 0x734], eax
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x744], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x730]
call esi
push 1
push 0
push 0x4afa2c
lea ecx, [ebp - 0x7e4]
mov byte [ebp - 4], 3
call fcn.004068b0
mov esi, eax
cmp esi, 0xffffffff
je 0x48f6be
push esi
push 0
lea eax, [ebp - 0x7b8]
push eax
lea ecx, [ebp - 0x7e8]
call fcn.004936f0
mov byte [ebp - 4], 4
test eax, eax
je 0x48f650
add eax, 4
lea ecx, [ebp - 0x754]
cmp ecx, eax
je 0x48f662
jmp 0x48f652
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x754]
call fcn.00406630
lea ecx, [ebp - 0x7b8]
mov byte [ebp - 4], 3
call fcn.00401ac0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x7b8]
push eax
lea ecx, [ebp - 0x7e8]
call fcn.004936f0
mov byte [ebp - 4], 5
test eax, eax
je 0x48f69d
add eax, 4
lea ecx, [ebp - 0x724]
cmp ecx, eax
je 0x48f6af
jmp 0x48f69f
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x724]
call fcn.00406630
lea ecx, [ebp - 0x7b8]
mov byte [ebp - 4], 3
call fcn.00401ac0
push 3
push 0x4ae578
push dword [ebp - 0x744]
lea ecx, [ebp - 0x754]
push 0
call fcn.004086e0
test eax, eax
je 0x48f7e9
push 3
push 0x4ae578
push dword [ebp - 0x7d4]
lea ecx, [ebp - 0x7e4]
push 0
call fcn.004086e0
test eax, eax
je 0x48f7e9
cmp dword [ebp - 0x714], 0
je 0x48f763
lea eax, [ebp - 0x728]
push eax
lea eax, [ebp - 0x7b8]
push 0x4ae578
push eax
call fcn.0047f6e0
add esp, 0xc
mov edi, dword [ebp - 0x858]
push eax
lea eax, [ebp - 0x850]
push eax
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 6
call fcn.0048e380
lea ecx, [ebp - 0x7b8]
mov byte [ebp - 4], 3
call fcn.00401ac0
mov eax, dword [ebp - 0x850]
cmp eax, dword [edi + 0x4c]
je 0x48f769
mov esi, dword [eax + 0x40]
test esi, esi
jne 0x48f7a6
jmp 0x48f769
mov edi, dword [ebp - 0x858]
push 1
lea eax, [ebp - 0x851]
push eax
push 0x4ae578
lea ecx, [ebp - 0x788]
call fcn.00403fb0
lea eax, [ebp - 0x788]
push eax
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 7
call fcn.00486580
mov esi, dword [eax]
lea ecx, [ebp - 0x788]
mov byte [ebp - 4], 3
call fcn.00401ac0
lea eax, [ebp - 0x850]
push eax
mov ecx, esi
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x870], 0
call fcn.00487c30
mov ecx, eax
call fcn.00486140
mov ecx, dword [ebp - 0x868]
mov esi, eax
lea eax, [ebp - 0x870]
push eax
call fcn.00486140
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x48f7ef
mov edi, dword [ebp - 0x858]
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x850]
push eax
mov dword [ebp - 0x850], 0
call fcn.00486140
mov ecx, dword [eax]
add ecx, 4
call fcn.0048f090
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [ebp - 0x6c8]
push eax
call esi
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x850]
push eax
mov dword [ebp - 0x850], 0
call fcn.00486140
mov ecx, dword [eax]
add ecx, 0x34
call fcn.0048f090
push eax
lea eax, [ebp - 0x5c4]
push eax
call esi
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x850]
push eax
mov dword [ebp - 0x850], 0
call fcn.00486140
mov eax, dword [eax]
mov ecx, dword [ebp - 0x868]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x890], eax
lea eax, [ebp - 0x850]
push eax
mov dword [ebp - 0x850], 0
call fcn.00486140
mov eax, dword [eax]
mov ecx, dword [ebp - 0x868]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x888], eax
lea eax, [ebp - 0x850]
push eax
mov dword [ebp - 0x850], 0
call fcn.00486140
mov eax, dword [eax]
mov ecx, dword [ebp - 0x868]
mov eax, dword [eax + 0x70]
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x850]
push eax
mov dword [ebp - 0x850], 0
call fcn.00486140
cmp dword [ebp - 0x884], 1
mov eax, dword [eax]
mov dword [ebp - 0x870], 1
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x894], eax
jl 0x490b16
lea eax, [edi + 0x40]
mov dword [ebp - 0x86c], eax
push 0x84
call fcn.00459406
add esp, 4
test eax, eax
je 0x48f92d
mov ecx, eax
call fcn.00484e00
mov edi, eax
jmp 0x48f92f
xor edi, edi
push str.BUTTON
lea eax, [ebp - 0xd8]
push eax
call esi
push 0xa
lea eax, [ebp - 0x4c0]
push eax
push dword [ebp - 0x870]
call fcn.0049aaba
add esp, 0xc
push eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call ebx
mov dword [ebp - 0x6cc], eax
mov eax, dword [ebp - 0x864]
test eax, eax
mov edx, 0x4c11c8
cmovne edx, eax
xor eax, eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov word [ebp - 0x6f4], ax
cmp word [edx], ax
jne 0x48f9b8
xor ecx, ecx
jmp 0x48f9cf
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f9c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6f4]
call fcn.00406eb0
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x6d4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6d0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 9
call fcn.0048f090
mov ecx, dword [ebp - 0x6e4]
mov ebx, eax
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x48fa42
test eax, eax
jne 0x48fa6a
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push ebx
push 0
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [edi], eax
mov eax, dword [ebp - 0x6d0]
lea esi, [ebp - 0x6d0]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 3
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x6dc]
call fcn.0045973a
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x6d4]
call ebx
cmp dword [ebp - 0x6e0], 8
jb 0x48fadb
push dword [ebp - 0x6f4]
call ebx
xor eax, eax
mov word [ebp - 0x6f4], ax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6f8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4bb1a8
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x104
lea ecx, [ebp - 0x8a4]
push ecx
lea ecx, [edi + 4]
call fcn.0048efb0
mov ebx, eax
mov dword [ebp - 0x878], ebx
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6cc], eax
mov eax, dword [ebp - 0x864]
test eax, eax
mov edx, 0x4c11c8
cmovne edx, eax
xor eax, eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov word [ebp - 0x6f4], ax
cmp word [edx], ax
jne 0x48fba4
xor ecx, ecx
jmp 0x48fbbf
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fbb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6f4]
call fcn.00406eb0
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x6d4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6d0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 0xc
call fcn.0048f090
mov ecx, dword [ebx]
mov dword [ebp - 0x85c], eax
call fcn.0048f090
mov ebx, eax
mov eax, dword [ebp - 0x878]
mov dword [eax + 8], ebx
mov ecx, dword [ebp - 0x6e4]
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x48fc48
test eax, eax
jne 0x48fc70
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push dword [ebp - 0x85c]
lea eax, [ebp - 0x74]
push 0x104
push ebx
push 0x4c101c
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
lea esi, [ebp - 0x6d0]
mov eax, dword [eax + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x6dc]
call fcn.0045973a
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x6d4]
call ebx
cmp dword [ebp - 0x6e0], 8
jb 0x48fce6
push dword [ebp - 0x6f4]
call ebx
xor eax, eax
mov word [ebp - 0x6f4], ax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6f8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x8a4]
mov byte [ebp - 4], 3
call fcn.00485bd0
cmp dword [edi + 0x18], 0
jne 0x48fdf3
push 0
lea eax, [ebp - 0x851]
push eax
lea eax, [ebp - 0x6c8]
push eax
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0x4ac964
mov dword [ebp - 0x6d0], 0x4ac96c
call fcn.0043a212
lea ecx, [edi + 8]
lea eax, [ebp - 0x6f4]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x48fd7c
push 0xffffffffffffffff
push 0
push eax
call fcn.00407b10
mov eax, dword [ebp - 0x6d0]
lea esi, [ebp - 0x6d0]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 3
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x6dc]
call fcn.0045973a
add esp, 4
push dword [ebp - 0x6d4]
call ebx
cmp dword [ebp - 0x6e0], 8
jb 0x48fdc0
push dword [ebp - 0x6f4]
call ebx
xor eax, eax
mov word [ebp - 0x6f4], ax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6f8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.DOWN
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x104
lea ecx, [ebp - 0x8b0]
push ecx
lea ecx, [edi + 0x34]
call fcn.0048efb0
mov ebx, eax
mov dword [ebp - 0x85c], ebx
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6cc], eax
mov eax, dword [ebp - 0x864]
test eax, eax
mov edx, 0x4c11c8
cmovne edx, eax
xor eax, eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov word [ebp - 0x6f4], ax
cmp word [edx], ax
jne 0x48fe89
xor ecx, ecx
jmp 0x48fe9f
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fe90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6f4]
call fcn.00406eb0
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x6d4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6d0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 0x10
call fcn.0048f090
mov ecx, dword [ebx]
mov dword [ebp - 0x878], eax
call fcn.0048f090
mov ebx, eax
mov eax, dword [ebp - 0x85c]
mov dword [eax + 8], ebx
mov ecx, dword [ebp - 0x6e4]
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x48ff28
test eax, eax
jne 0x48ff50
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push dword [ebp - 0x878]
lea eax, [ebp - 0x74]
push 0x104
push ebx
push 0x4c101c
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
lea esi, [ebp - 0x6d0]
mov eax, dword [eax + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x6dc]
call fcn.0045973a
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x6d4]
call ebx
cmp dword [ebp - 0x6e0], 8
jb 0x48ffc6
push dword [ebp - 0x6f4]
call ebx
xor eax, eax
mov word [ebp - 0x6f4], ax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6f8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x8b0]
mov byte [ebp - 4], 3
call fcn.00485bd0
cmp dword [edi + 0x48], 0
jne 0x4900d3
push 0
lea eax, [ebp - 0x87d]
push eax
lea eax, [ebp - 0x5c4]
push eax
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0x4ac964
mov dword [ebp - 0x6d0], 0x4ac96c
call fcn.0043a212
lea ecx, [edi + 0x38]
lea eax, [ebp - 0x6f4]
mov byte [ebp - 4], 0x11
cmp ecx, eax
je 0x49005c
push 0xffffffffffffffff
push 0
push eax
call fcn.00407b10
mov eax, dword [ebp - 0x6d0]
lea esi, [ebp - 0x6d0]
mov eax, dword [eax + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x6dc]
call fcn.0045973a
add esp, 4
push dword [ebp - 0x6d4]
call ebx
cmp dword [ebp - 0x6e0], 8
jb 0x49009c
push dword [ebp - 0x6f4]
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov word [ebp - 0x6f4], ax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6f8]
call ebx
jmp 0x4900d9
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4bb10c
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6cc], eax
mov eax, dword [ebp - 0x864]
test eax, eax
mov edx, 0x4c11c8
cmovne edx, eax
xor eax, eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov word [ebp - 0x6f4], ax
cmp word [edx], ax
jne 0x490153
xor ecx, ecx
jmp 0x49016f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x490160
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490160
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6f4]
call fcn.00406eb0
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x6d4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6d0]
call ebx
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 0x13
call fcn.0048f090
mov ecx, dword [ebp - 0x6e4]
mov ebx, eax
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x4901de
test eax, eax
jne 0x490206
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push ebx
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c101c
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
lea esi, [ebp - 0x6d0]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 3
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x6dc]
call fcn.0045973a
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x6d4]
call ebx
cmp dword [ebp - 0x6e0], 8
jb 0x490281
push dword [ebp - 0x6f4]
call ebx
xor eax, eax
mov word [ebp - 0x6f4], ax
mov eax, dword [ebp - 0x6f8]
mov dword [ebp - 0x6e0], 7
mov dword [ebp - 0x6e4], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x6f8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4c101c
lea eax, [ebp - 0x4c0]
lea esi, [edi + 0x68]
lea ebx, [edi + 0x64]
push eax
mov dword [esi], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x490303
push esi
push ebx
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x873]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.00484720
mov ecx, dword [ebp - 0x858]
call fcn.0048e860
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [edi + 0x78], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4bb128
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0x849]
push eax
push dword [ebp - 0x864]
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call fcn.00403fb0
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 0x14
call fcn.0048f090
mov ecx, dword [ebp - 0x6e4]
mov ebx, eax
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x49038a
test eax, eax
jne 0x4903b2
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push ebx
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c101c
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 3
call fcn.00401ac0
push 0x4c101c
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x490413
mov ecx, dword [ebp - 0x890]
mov dword [edi + 0x78], ecx
jmp 0x490442
lea eax, [edi + 0x78]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [eax], 2
push 1
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.00484720
mov ecx, dword [ebp - 0x858]
call fcn.0048e650
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.TRNSPRNTCLR
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0x849]
push eax
push dword [ebp - 0x864]
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call fcn.00403fb0
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 0x15
call fcn.0048f090
mov ecx, dword [ebp - 0x6e4]
mov ebx, eax
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x4904c2
test eax, eax
jne 0x4904ea
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push ebx
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c101c
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 3
call fcn.00401ac0
push 0x4c101c
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x49054b
mov eax, dword [ebp - 0x888]
mov dword [edi + 0x6c], eax
jmp 0x49057a
lea eax, [edi + 0x6c]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [eax], 0x808080
push 1
lea eax, [ebp - 0x87a]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.00484720
mov ecx, dword [ebp - 0x858]
call fcn.0048e4e0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.TXTCLR
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0x849]
push eax
push dword [ebp - 0x864]
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call fcn.00403fb0
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 0x16
call fcn.0048f090
mov ecx, dword [ebp - 0x6e4]
mov ebx, eax
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x4905fa
test eax, eax
jne 0x490622
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push ebx
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c101c
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 3
call fcn.00401ac0
push 0x4c101c
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x490683
mov eax, dword [ebp - 0x88c]
mov dword [edi + 0x70], eax
jmp 0x4906b6
push 8
lea esi, [edi + 0x70]
call dword [sym.imp.USER32.dll_GetSysColor]
push esi
sub esp, 0x30
mov ecx, esp
mov dword [esi], eax
push 1
lea eax, [ebp - 0x871]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.00484720
mov ecx, dword [ebp - 0x858]
call fcn.0048e4e0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.DISTXTCLR
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0x849]
push eax
push dword [ebp - 0x864]
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0x4c13a0
mov dword [ebp - 0x6d0], 0x4c18a4
call fcn.00403fb0
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 4], 0x17
call fcn.0048f090
mov ecx, dword [ebp - 0x6e4]
mov ebx, eax
mov eax, dword [ebp - 0x6dc]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x6d8]
cmp esi, ecx
jae 0x490736
test eax, eax
jne 0x49075e
push eax
call fcn.0045973a
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x6d8], esi
call fcn.0045885f
mov ecx, dword [ebp - 0x6d8]
add esp, 8
mov dword [ebp - 0x6dc], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0048c6a0
push ebx
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c101c
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 3
call fcn.00401ac0
push 0x4c101c
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4907bf
mov eax, dword [ebp - 0x894]
mov dword [edi + 0x74], eax
jmp 0x4907f2
push 0x11
lea esi, [edi + 0x74]
call dword [sym.imp.USER32.dll_GetSysColor]
push esi
sub esp, 0x30
mov ecx, esp
mov dword [esi], eax
push 1
lea eax, [ebp - 0x879]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.00484720
mov ecx, dword [ebp - 0x858]
call fcn.0048e4e0
push dword [edi + 0x78]
lea ebx, [edi + 0x78]
lea eax, [ebp - 0x4c0]
push 0x4bb138
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea esi, [edi + 8]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x49081a
mov eax, dword [esi]
jmp 0x49081c
mov eax, esi
push 1
lea ecx, [ebp - 0x849]
push ecx
push eax
lea ecx, [ebp - 0x788]
call fcn.00403fb0
push 1
lea eax, [ebp - 0x87b]
push eax
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x18
call fcn.00484720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x784]
mov byte [ebp - 4], 0x19
call fcn.00407f60
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0x18
call fcn.00401ac0
mov ecx, dword [ebp - 0x86c]
lea eax, [ebp - 0x788]
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.0048e300
mov ecx, dword [ebp - 0x86c]
mov eax, dword [ebp - 0x850]
cmp eax, dword [ecx]
jne 0x490946
push 0xc
call fcn.00459406
add esp, 4
mov dword [ebp - 0x85c], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4908c7
mov ecx, eax
call fcn.00484b80
jmp 0x4908c9
xor eax, eax
mov dword [edi + 0x7c], eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 0x18
jb 0x4908d8
mov esi, dword [esi]
push 1
lea eax, [ebp - 0x849]
push eax
push esi
lea ecx, [ebp - 0x6f8]
call fcn.00408f6d
mov ecx, dword [ebp - 0x858]
lea eax, [ebp - 0x6f8]
push eax
lea ecx, [ecx + 0x38]
mov byte [ebp - 4], 0x1b
call fcn.00486660
mov esi, dword [eax]
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x18
call fcn.00401b80
push dword [esi + 4]
mov ecx, dword [edi + 0x7c]
push dword [esi]
lea eax, [edi + 4]
push eax
push ebx
lea eax, [edi + 0x6c]
push eax
call fcn.0048f170
mov ecx, dword [ebp - 0x86c]
lea eax, [ebp - 0x788]
push eax
call fcn.004864a0
mov ecx, dword [edi + 0x7c]
mov dword [eax], ecx
jmp 0x49094c
mov eax, dword [eax + 0x40]
mov dword [edi + 0x7c], eax
push dword [ebx]
lea eax, [ebp - 0x4c0]
push 0x4bb138
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea esi, [edi + 0x38]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x490970
mov eax, dword [esi]
jmp 0x490972
mov eax, esi
test eax, eax
mov edx, 0x4c11c8
cmovne edx, eax
cmp word [edx], 0
jne 0x490986
xor ecx, ecx
jmp 0x4909a2
mov ecx, edx
lea ebx, [ecx + 2]
jmp 0x490990
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490990
sub ecx, ebx
sar ecx, 1
lea ebx, [edi + 0x78]
push ecx
push edx
lea ecx, [ebp - 0x784]
call fcn.00406eb0
push 1
lea eax, [ebp - 0x872]
push eax
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x818]
call fcn.00484720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x784]
mov byte [ebp - 4], 0x1c
call fcn.00407f60
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], 0x18
call fcn.00401ac0
mov ecx, dword [ebp - 0x86c]
lea eax, [ebp - 0x788]
push eax
lea eax, [ebp - 0x898]
push eax
call fcn.0048e300
mov eax, dword [eax]
mov ecx, dword [ebp - 0x86c]
mov dword [ebp - 0x850], eax
cmp eax, dword [ecx]
jne 0x490acb
push 0xc
call fcn.00459406
add esp, 4
mov dword [ebp - 0x85c], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x490a43
mov ecx, eax
call fcn.00484b80
jmp 0x490a45
xor eax, eax
mov dword [edi + 0x80], eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 0x18
jb 0x490a57
mov esi, dword [esi]
push 1
lea eax, [ebp - 0x849]
push eax
push esi
lea ecx, [ebp - 0x7b8]
call fcn.00408f6d
mov ecx, dword [ebp - 0x858]
lea eax, [ebp - 0x7b8]
push eax
lea ecx, [ecx + 0x38]
mov byte [ebp - 4], 0x1e
call fcn.00486660
mov esi, dword [eax]
lea ecx, [ebp - 0x7b8]
mov byte [ebp - 4], 0x18
call fcn.00401b80
push dword [esi + 4]
mov ecx, dword [edi + 0x80]
push dword [esi]
lea eax, [edi + 0x34]
push eax
push ebx
lea eax, [edi + 0x6c]
push eax
call fcn.0048f170
mov ecx, dword [ebp - 0x86c]
lea eax, [ebp - 0x788]
push eax
call fcn.004864a0
mov ecx, dword [edi + 0x80]
mov dword [eax], ecx
jmp 0x490ad4
mov eax, dword [eax + 0x40]
mov dword [edi + 0x80], eax
mov ecx, dword [ebp - 0x868]
push edi
call fcn.004861d0
lea ecx, [ebp - 0x788]
mov dword [eax], edi
mov byte [ebp - 4], 3
call fcn.00401ac0
mov eax, dword [ebp - 0x870]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc eax
mov dword [ebp - 0x870], eax
cmp eax, dword [ebp - 0x884]
jle 0x48f911
lea ecx, [ebp - 0x758]
call fcn.00401ac0
lea ecx, [ebp - 0x728]
call fcn.00401ac0
lea ecx, [ebp - 0x7e8]
call fcn.00401ac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004591d7
mov esp, ebp
pop ebp
ret 8