Function at 0x4a231e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
push 0x7e
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_KillTimer
push esi
call fcn.004eae80
test eax, eax
jne 0x4a0581
mov esi, dword [0x4fd9fc]
mov byte [0x4fa2b0], 0
mov eax, dword [0x4fa2ac]
cmp eax, 0x1a
ja case.default.0x4a0596
jmp dword [eax*4 + 0x4a059d]
push edi
push 0
push esi
call fcn.004a0188
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push edi
push 1
push esi
call fcn.004a0188
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push edi
push 2
push esi
call fcn.004a0188
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push edi
push 3
push esi
call fcn.004a0188
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp dword [0x4f2448], 0
je 0x4a0702
cmp dword [0x4fa2a8], 0
jne 0x4a06f6
mov byte [0x515aff], 0
test byte [0x4f9188], 8
je 0x4a06b3
push 0x4fa545
push 0x515aff
call sub.USER32.dll_wsprintfA
add esp, 8
jmp 0x4a06ce
test byte [0x4f9188], 4
je 0x4a06ce
push 0x4fa551
push 0x515aff
call sub.USER32.dll_wsprintfA
add esp, 8
cmp byte [0x515aff], 0
je 0x4a29f5
push 0
push 0x515aff
call fcn.004efb4c
mov dword [0x4fa2a8], 1
jmp 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x514
je 0x4a072e
cmp edi, 0x515
je 0x4a072e
cmp edi, 0x516
je 0x4a072e
cmp edi, 0x517
je 0x4a072e
cmp edi, 0x518
jne 0x4a0a6b
push 0
push 0
push 0x188
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a0ba6
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [ebp - 0xc], 0
jne 0x4a0774
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
mov edx, dword [ebp - 0xc]
push esi
push edi
mov esi, 0x515718
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp esi, dword [0x4fda00]
jne 0x4a0ba6
push 9
push 0x515719
call fcn.00401278
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4a0ba6
mov edx, dword [ebp - 0xc]
mov byte [edx], 0
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0x515718
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x20
jne 0x4a07e4
inc dword [ebp - 0xc]
cmp edi, 0x514
jne 0x4a0856
mov edx, dword [ebp - 0xc]
push edx
call fcn.00499d38
test eax, eax
je 0x4a082a
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4fa558
push 0x515aff
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0x515aff
mov eax, dword [0x4fd9fc]
push eax
call fcn.004864e8
jmp 0x4a29f5
push 0x515aff
push 0x8b0
call fcn.0041f178
mov edx, dword [0x4f29d8]
push edx
push 0x515aff
mov ecx, dword [0x4fd9fc]
push ecx
call fcn.004bd330
jmp 0x4a29f5
cmp edi, 0x515
jne 0x4a0890
mov eax, dword [ebp - 0xc]
push eax
push 0x4fa562
push 0x515aff
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0x515aff
mov edx, dword [0x4fd9fc]
push edx
call fcn.004864e8
jmp 0x4a29f5
cmp edi, 0x516
jne 0x4a094a
mov edi, dword [0x4fd58c]
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [ebp - 0xc], 0
jne 0x4a08c9
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
mov edx, dword [ebp - 0xc]
push edi
mov esi, 0x515718
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0xf
push 0x515718
call fcn.004d7fb8
mov dword [0x4fd58c], 1
push 0
push 1
push 0x515aff
push 0x515718
call fcn.004e4a74
mov ebx, eax
dec ebx
jne 0x4a0933
push 0
push 0x515aff
push 0x515718
call fcn.004e45f8
jmp 0x4a093a
push 0
call sub.USER32.dll_MessageBeep
mov dword [0x4fd58c], edi
jmp 0x4a29f5
cmp edi, 0x517
jne 0x4a09de
mov edi, dword [0x4fd58c]
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [ebp - 0xc], 0
je 0x4a09a2
mov edx, dword [ebp - 0xc]
push edi
mov esi, 0x515718
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x4a09a9
mov byte [0x515718], 0
mov dword [0x4fd58c], 1
push 0
push 0
push 0
push 0x515718
call fcn.004e4a74
test eax, eax
jne 0x4a09ce
push 0
call sub.USER32.dll_MessageBeep
mov dword [0x4fd58c], edi
jmp 0x4a29f5
cmp edi, 0x518
jne 0x4a0ba6
mov eax, dword [ebp - 0xc]
mov esi, 0x515aff
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 9
mov eax, dword [ebp - 0x10]
push eax
call fcn.00401278
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a0a2b
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
je 0x4a0a5c
mov edx, dword [ebp - 0xc]
cmp byte [edx], 0
je 0x4a0a5c
push 0x4fa56d
push 0x515aff
call fcn.0040123c
add esp, 8
mov ecx, dword [ebp - 0xc]
push ecx
push 0x515aff
call fcn.0040123c
add esp, 8
push 0x515aff
call fcn.00424290
jmp 0x4a29f5
cmp edi, 0x519
jne 0x4a0b31
push 0
push 0
push 0x18b
push 0x425
mov eax, dword [0x4fda00]
push eax
call sub.USER32.dll_SendDlgItemMessageA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a0ba6
test ebx, ebx
jle 0x4a0ba6
push 0x4f7cec
push 0x4fa570
push 0x51f91f
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 4
push 0
push 0xf0c
call fcn.0041f178
push eax
push 3
mov eax, dword [0x4fda00]
push eax
call fcn.004d20cc
test eax, eax
je 0x4a29f5
mov esi, 0x515718
mov edi, 0x51f91f
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x51fa9f
push 0x515718
call fcn.0040123c
add esp, 8
push 0x515718
call fcn.00408b88
pop ecx
push 0x515718
call fcn.00425ad8
jmp 0x4a29f5
cmp edi, 0x51a
jne 0x4a0b52
push 2
push 0x6a
push 0x111
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_PostMessageA
jmp 0x4a29f5
cmp edi, 0x51b
je 0x4a0b6a
cmp edi, 0x51c
je 0x4a0b6a
cmp edi, 0x51d
jne 0x4a0ba6
cmp edi, 0x51c
jne 0x4a0b7e
mov dword [0x4f2464], 1
jmp 0x4a0b9a
cmp edi, 0x51d
jne 0x4a0b92
mov dword [0x4f2464], 2
jmp 0x4a0b9a
xor edx, edx
mov dword [0x4f2464], edx
push 0
call fcn.00425650
jmp 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x514
jne 0x4a0c14
cmp dword [0x4f6418], 0
je 0x4a0bfa
cmp dword [0x4fda10], 0
je 0x4a0beb
mov ecx, dword [0x4f29cc]
push ecx
push 0
push 0xf46
call fcn.0041f178
push eax
mov eax, dword [0x4fda10]
push eax
call fcn.004bc548
push 0x4fa57f
call fcn.00466104
jmp 0x4a29f5
push 2
push 0x70
push 0x111
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_PostMessageA
jmp 0x4a29f5
mov ecx, dword [0x4fa224]
push ecx
call sub.USER32.dll_IsMenu
test eax, eax
je 0x4a29f5
push 0
push 0x64
push 0x515718
push edi
mov eax, dword [0x4fa224]
push eax
call sub.USER32.dll_GetMenuStringA
test eax, eax
jle 0x4a29f5
cmp dword [0x4fda10], 0
je 0x4a0c93
mov edx, dword [0x4fda10]
push edx
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x4a0c6e
mov ecx, dword [0x4fda10]
push ecx
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x4a0c7b
push 9
mov eax, dword [0x4fda10]
push eax
call sub.USER32.dll_ShowWindow
push 0x23
push 0
push 0
push 0
push 0
push 0
mov edx, dword [0x4fda10]
push edx
call sub.USER32.dll_SetWindowPos
push 0
push 0x515718
call fcn.00466180
jmp 0x4a29f5
push 0
push 0
push 0x190
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4a0d19
cmp dword [ebp - 0x18], 0
jle 0x4a0d19
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040bcb0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4a0cea
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 0x18]
push edx
push 0x191
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a0d0d
test ebx, ebx
jg 0x4a0d19
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x514
je 0x4a0d2d
cmp edi, 0x515
jne 0x4a1371
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [0x522a44], 0
mov byte [0x522b44], 0
mov byte [0x5188dc], 0
cmp edi, 0x514
jne 0x4a0d66
push esi
push edi
mov esi, 0x4fa583
mov edi, 0x522c44
mov eax, edi
movsw word es:[edi], word [esi]
pop edi
pop esi
jmp 0x4a0e99
cmp dword [ebp - 0x18], 1
jne 0x4a0e80
cmp dword [ebp - 4], 0
jne 0x4a0d82
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push 0x515718
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
push ecx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
xor eax, eax
mov al, byte [0x515719]
push eax
push 0x4fa586
push 0x522c44
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 9
push 0x515718
call fcn.00401278
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a0dcd
inc ebx
test ebx, ebx
je 0x4a0e99
push 0x4fa58a
push ebx
call fcn.004015f8
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a0df6
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
add dword [ebp - 0x14], 5
cmp dword [ebp - 0x14], 0
je 0x4a0e99
push esi
push edi
mov esi, 0x522a44
mov edi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x14]
push esi
push edi
mov esi, 0x522b44
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x14]
push esi
push edi
mov esi, 0x5188dc
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4a0e99
push esi
push edi
mov esi, 0x4fa590
mov edi, 0x522c44
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [ebp - 0x20], 1
push 0x5188dc
call fcn.00401318
pop ecx
add eax, 2
push eax
call fcn.0040c55c
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4a0ede
push esi
push edi
mov esi, ebx
mov edi, 0x5188dc
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4a0eea
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push 0x4e5274
push 0x38
push esi
call fcn.00451600
test eax, eax
jg 0x4a0f0f
test ebx, ebx
je 0x4a29f5
push ebx
call fcn.0040c454
pop ecx
jmp 0x4a29f5
mov dword [0x4fd5a8], 1
test ebx, ebx
je 0x4a0f4c
push esi
push edi
mov esi, 0x5188dc
mov edi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
call fcn.0040c454
pop ecx
cmp dword [ebp - 0x20], 0
je 0x4a1158
push 0
push 0
push 0x18b
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4a29f5
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jge 0x4a29f5
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x187
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
cmp eax, 0xffffffff
je 0x4a1144
test eax, eax
jle 0x4a1144
push 0x515718
mov eax, dword [ebp - 0x1c]
push eax
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
inc eax
je 0x4a1144
push 0x4fa596
push 0x515718
call fcn.004015f8
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a0ff3
push 1
push ebx
call fcn.004e4814
mov ebx, eax
jmp 0x4a0ff5
xor ebx, ebx
test ebx, ebx
je 0x4a1144
mov eax, dword [ebx]
mov dl, byte [0x522c44]
mov byte [eax], dl
push esi
mov esi, 0x4fa59b
mov edi, 0x515718
mov eax, edi
movsw word es:[edi], word [esi]
pop esi
mov edx, dword [ebx]
push edx
push 0x515718
call fcn.0040123c
add esp, 8
push 0x3a
push 0x515718
call fcn.00401278
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a103f
mov byte [ebx], 9
push 0x4fa59e
push 0x515718
call fcn.004015f8
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a1144
lea eax, [ebx + 4]
mov dword [ebp - 0x14], eax
mov byte [ebx], 9
inc ebx
mov byte [ebx], 0
mov edx, dword [ebp - 0x14]
push esi
mov esi, 0x515aff
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
cmp byte [0x515aff], 0
je 0x4a1144
push 0x515aff
push 0x4fa5a3
push 0x515718
call fcn.00401318
pop ecx
add eax, 0x515718
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x182
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
push 0x515aff
push 0x515718
call fcn.004e4734
cmp eax, 0xffffffff
jne 0x4a1107
push 0x515718
push 0
push 0x180
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov ebx, eax
jmp 0x4a111f
push 0x515718
push eax
push 0x181
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a1141
mov eax, dword [0x4f29ec]
push eax
push ebx
push 0x19a
push 0x425
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_SendMessageA
dec dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jl 0x4a0f88
jmp 0x4a29f5
push 0
push 0x522b44
call fcn.004e4814
mov ebx, eax
test ebx, ebx
je 0x4a117b
push ebx
mov eax, dword [0x4fd584]
push eax
call fcn.00498fb0
mov dword [0x4fd584], eax
cmp edi, 0x515
jne 0x4a11a6
push 0
push 0x5188dc
call fcn.004e4814
mov ebx, eax
test ebx, ebx
je 0x4a11a6
push ebx
mov eax, dword [0x4fd584]
push eax
call fcn.00498fb0
mov dword [0x4fd584], eax
push 0
push 0
push 0x18b
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4a128b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jl 0x4a128b
push 0x515718
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
inc eax
je 0x4a127e
push 0x4fa5ab
push 0x515718
call fcn.004015f8
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a127e
add ebx, 4
cmp edi, 0x514
jne 0x4a1244
push ebx
push 0x522b44
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4a127e
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x182
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
jmp 0x4a127e
push ebx
push 0x522b44
call fcn.004014a8
add esp, 8
test eax, eax
je 0x4a1268
push ebx
push 0x5188dc
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4a127e
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x182
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0
jge 0x4a11d7
push 0x522b44
push 0x522a44
xor ecx, ecx
mov cl, byte [0x522c44]
push ecx
push 0x4fa5b0
push 0x515718
call sub.USER32.dll_wsprintfA
add esp, 0x14
push 0
push 0
push 0x515718
mov eax, dword [0x4fd584]
push eax
call fcn.00498c08
mov ebx, eax
test ebx, ebx
je 0x4a29f5
mov dword [0x4fd584], ebx
push 0x522b44
push 0x522a44
xor eax, eax
mov al, byte [0x522c44]
push eax
push 0x4fa5bd
push 0x515718
call sub.USER32.dll_wsprintfA
add esp, 0x14
push 0x515aff
push 0x515718
call fcn.004e4734
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4a132b
push 0x515718
push 0
push 0x180
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov ebx, eax
jmp 0x4a1346
push 0x515718
mov eax, dword [ebp - 0x1c]
push eax
push 0x181
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a29f5
mov eax, dword [0x4f29ec]
push eax
push ebx
push 0x19a
push 0x425
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_SendMessageA
jmp 0x4a29f5
cmp edi, 0x516
jne 0x4a1452
cmp dword [ebp - 4], 0
jne 0x4a138f
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
mov byte [0x515aff], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 4]
mov edi, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jge 0x4a1441
push 0x515718
mov edx, dword [edi]
push edx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
push 0x4fa5cc
push 0x515718
call fcn.004015f8
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a142f
cmp byte [ebx + 4], 0
je 0x4a142f
push 0x515aff
call fcn.00401318
pop ecx
push eax
lea eax, [ebx + 4]
push eax
call fcn.00401318
pop ecx
pop edx
add edx, eax
cmp edx, 0x3b5
ja 0x4a1441
cmp byte [0x515aff], 0
je 0x4a141e
push 0x4fa5d1
push 0x515aff
call fcn.0040123c
add esp, 8
add ebx, 4
push ebx
push 0x515aff
call fcn.0040123c
add esp, 8
inc dword [ebp - 0x1c]
add edi, 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jl 0x4a13ac
push 0
push 0x515aff
call fcn.0041fc64
jmp 0x4a29f5
cmp edi, 0x517
jne 0x4a1571
cmp dword [ebp - 4], 0
jne 0x4a1470
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push 0x453518
push 0x40
push esi
call fcn.00451600
test eax, eax
jle 0x4a29f5
mov dword [0x4fd5a8], 1
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 4]
mov edi, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jge 0x4a14fe
push 0x515718
mov edx, dword [edi]
push edx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
push 0x4fa5d5
push 0x515718
call fcn.004015f8
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a14f0
push 1
push ebx
call fcn.004e4814
mov ebx, eax
test ebx, ebx
je 0x4a14f0
push ebx
mov eax, dword [0x4fd584]
push eax
call fcn.00498fb0
mov dword [0x4fd584], eax
inc dword [ebp - 0x1c]
add edi, 4
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jl 0x4a14a1
dec dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
lea edi, [eax + edx*4]
cmp dword [ebp - 0x1c], 0
jl 0x4a1537
push 0
mov eax, dword [edi]
push eax
push 0x182
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
dec dword [ebp - 0x1c]
add edi, 0xfffffffc
cmp dword [ebp - 0x1c], 0
jge 0x4a1516
push 0
push 0
push 0x19f
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4a1559
xor edx, edx
mov dword [ebp - 0x18], edx
push 1
push 1
mov ecx, dword [ebp - 0x18]
push ecx
push 0x425
push esi
call fcn.00420294
jmp 0x4a29f5
cmp edi, 0x518
jne 0x4a15a7
push 0x4e51b8
push 0x5b
mov eax, dword [0x4fda04]
push eax
call fcn.00451600
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jne 0x4a29f5
push 0x515718
call fcn.004e4f38
jmp 0x4a29f5
cmp edi, 0x519
jne 0x4a16a8
cmp dword [ebp - 4], 0
jne 0x4a15c5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push 0x5188dc
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
push ecx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
push 0x4fa5da
push 0x5188dc
call fcn.004015f8
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a15fb
add ebx, 4
test ebx, ebx
je 0x4a169c
cmp byte [ebx], 0
je 0x4a169c
push 0x40
push ebx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4a168a
push 6
push 0x4fa5df
push ebx
call fcn.00401540
add esp, 0xc
test eax, eax
je 0x4a168a
push 7
push 0x4fa5e8
push ebx
call fcn.00401540
add esp, 0xc
test eax, eax
je 0x4a168a
push 4
push 0x4fa5f2
push ebx
call fcn.00401540
add esp, 0xc
test eax, eax
je 0x4a168a
push 5
push 0x4fa5f8
push ebx
call fcn.00401540
add esp, 0xc
test eax, eax
je 0x4a168a
push 4
push 0x4fa600
push ebx
call fcn.00401540
add esp, 0xc
test eax, eax
je 0x4a168a
push ebx
call fcn.004c3060
jmp 0x4a29f5
push 0
push 0x515718
push ebx
call fcn.004e45f8
jmp 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x51a
jne 0x4a177a
push 0
call fcn.004e4580
mov esi, 0x51f91f
mov edi, 0x4fd5ac
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 4
push 0
push 0xf0d
call fcn.0041f178
push eax
push 1
mov eax, dword [0x4fda04]
push eax
call fcn.004d20cc
test eax, eax
je 0x4a29f5
mov esi, 0x4fd5ac
mov edi, 0x51f91f
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x51fa9f
push 0x4fd5ac
call fcn.0040123c
add esp, 8
push 0x4fd5ac
call fcn.00408b88
pop ecx
mov eax, dword [0x4fd584]
push eax
call fcn.00499164
push 2
push 0x4fa606
push 0x4fd5ac
call fcn.00462b2c
mov dword [0x4fd584], eax
push 0x4fa60e
call fcn.004e4f38
jmp 0x4a29f5
cmp edi, 0x51b
jne 0x4a1826
mov esi, 0x51f91f
mov edi, 0x4fd5ac
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 4
push 0
push 0xf0e
call fcn.0041f178
push eax
push 3
mov eax, dword [0x4fda04]
push eax
call fcn.004d20cc
test eax, eax
je 0x4a29f5
mov esi, 0x4fd5ac
mov edi, 0x51f91f
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x51fa9f
push 0x4fd5ac
call fcn.0040123c
add esp, 8
push 0x4fd5ac
call fcn.00408b88
pop ecx
push 0
call fcn.004e4580
call fcn.004e4ee0
jmp 0x4a29f5
cmp edi, 0x51c
jne 0x4a1851
mov dword [0x4fb13c], 4
push 0
push 0x67
push 0x111
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_PostMessageA
jmp 0x4a29f5
cmp edi, 0x51d
jl 0x4a29f5
cmp dword [ebp - 4], 0
jne 0x4a186f
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
mov edx, dword [0x4fa22c]
push edx
call sub.USER32.dll_IsMenu
test eax, eax
jne 0x4a188b
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push 0
push 0x64
push 0x515aff
push edi
mov ecx, dword [0x4fa22c]
push ecx
call sub.USER32.dll_GetMenuStringA
push 0x515aff
call fcn.004eae20
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4a18c0
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
xor eax, eax
mov dword [ebp - 0x30], eax
mov edx, dword [0x4fd58c]
mov dword [ebp - 0x28], edx
mov ecx, dword [0x4fd588]
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x4fd588], eax
mov dword [0x4fd58c], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 4]
mov edi, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jge 0x4a1a79
push 0x515718
mov edx, dword [edi]
push edx
push 0x189
push 0x425
push esi
call sub.USER32.dll_SendDlgItemMessageA
push 9
push 0x515718
call fcn.00401278
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4a1927
inc ebx
test ebx, ebx
je 0x4a1a67
cmp byte [ebx], 0
je 0x4a1a67
push 0x4fa612
push 0x515718
call fcn.004015f8
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a195d
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
add dword [ebp - 0x14], 5
cmp dword [ebp - 0x14], 0
je 0x4a1a67
mov edx, dword [ebp - 0x14]
cmp byte [edx], 0
je 0x4a1a67
mov byte [0x5188dc], 0
test byte [0x4fd598], 3
je 0x4a19da
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
call fcn.004014a8
add esp, 8
test eax, eax
je 0x4a19b0
mov eax, dword [ebp - 0x14]
push eax
push ebx
push 0x4fa618
push 0x5188dc
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x4a1a41
push esi
push edi
mov esi, 0x5188dc
mov edi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4a1a41
test byte [0x4fd598], 2
je 0x4a1a0d
push esi
push edi
mov esi, 0x5188dc
mov edi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4a1a41
test byte [0x4fd598], 1
je 0x4a1a41
mov eax, dword [ebp - 0x14]
push esi
push edi
mov esi, 0x5188dc
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp byte [0x5188dc], 0
je 0x4a1a67
push 0
push 0
push 0
push 0x5188dc
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
push edx
call fcn.004864e8
mov dword [ebp - 0x30], 1
inc dword [ebp - 0x1c]
add edi, 4
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jl 0x4a18f9
mov eax, dword [ebp - 0x28]
mov dword [0x4fd58c], eax
mov edx, dword [ebp - 0x2c]
mov dword [0x4fd588], edx
cmp dword [ebp - 0x30], 0
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp dword [0x4f6bec], 0
je 0x4a1b04
cmp byte [0x510dec], 0
je 0x4a1b04
push 0x510dec
call fcn.004ab4d4
mov dword [0x5155a8], eax
cmp dword [0x5155a8], 0
je 0x4a1afd
mov ecx, dword [0x5155a8]
push esi
push edi
mov esi, 0x4fa2b0
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov byte [0x510dec], 0
cmp edi, 0x511
jne 0x4a1bd4
cmp byte [0x4fa2b0], 0
je 0x4a1b4b
push 0x4fa2b0
push 0x4fa61f
push 0x515718
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0x515718
mov eax, dword [0x4fd9fc]
push eax
call fcn.004864e8
jmp 0x4a29f5
push 0
push 0
push 0x188
push 0x425
mov edx, dword [0x4fda08]
push edx
call sub.USER32.dll_SendDlgItemMessageA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4a1bc8
push 0x515aff
mov ecx, dword [ebp - 0x34]
push ecx
push 0x189
push 0x425
mov eax, dword [0x4fda08]
push eax
call sub.USER32.dll_SendDlgItemMessageA
cmp byte [0x515aff], 0
je 0x4a1bc8
push 0x515aff
push 0x4fa62e
push 0x515718
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0x515718
mov edx, dword [0x4fd9fc]
push edx
call fcn.004864e8
jmp 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x512
jne 0x4a1c06
mov esi, 0x4fa63d
mov edi, 0x515aff
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
push 0x515aff
mov edx, dword [0x4fd9fc]
push edx
call fcn.004864e8
jmp 0x4a29f5
cmp edi, 0x513
jne 0x4a1c32
mov dword [0x4f17e0], 2
push 0
push 0x74
push 0x111
mov ecx, dword [0x4fd9ec]
push ecx
call sub.USER32.dll_PostMessageA
jmp 0x4a29f5
push edi
push 2
push esi
call fcn.004a0188
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x514
jne 0x4a1cb6
push 0
push 0
push 0x188
push 0x425
mov eax, dword [0x4fda0c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4a1caa
push 0x515aff
mov edx, dword [ebp - 0x38]
push edx
push 0x189
push 0x425
mov ecx, dword [0x4fda0c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 0x515aff
call fcn.004999b0
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x515
jne 0x4a1d32
push 0
push 0
push 0x188
push 0x425
mov eax, dword [0x4fda0c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x4a1cec
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push 0x515718
mov edx, dword [ebp - 0x3c]
push edx
push 0x189
push 0x425
mov ecx, dword [0x4fda0c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
cmp byte [0x515718], 0
je 0x4a29f5
mov eax, 0x515718
jmp 0x4a1d20
inc eax
cmp byte [eax], 9
je 0x4a1d1f
push 0
push eax
call fcn.0041fc64
jmp 0x4a29f5
cmp edi, 0x516
jne 0x4a29f5
mov edx, dword [0x4fda0c]
push edx
call fcn.004eae80
mov ebx, eax
test ebx, ebx
je 0x4a29f5
cmp dword [0x4f9ef8], 0
je 0x4a1dad
xor eax, eax
mov dword [0x4f9ef8], eax
push 0
mov edx, dword [ebx + 0x5d4]
push edx
call sub.USER32.dll_ShowWindow
push 0
mov ecx, dword [ebx + 0x5d4]
push ecx
call sub.USER32.dll_EnableWindow
push 1
mov eax, dword [ebx + 0x5d8]
push eax
call sub.USER32.dll_EnableWindow
push 5
mov edx, dword [ebx + 0x5d8]
push edx
call sub.USER32.dll_ShowWindow
mov ecx, dword [0x4fda0c]
push ecx
call sub.USER32.dll_SetFocus
jmp 0x4a29f5
mov dword [0x4f9ef8], 1
push 0
mov eax, dword [ebx + 0x5d8]
push eax
call sub.USER32.dll_ShowWindow
push 0
mov edx, dword [ebx + 0x5d8]
push edx
call sub.USER32.dll_EnableWindow
push 1
mov ecx, dword [ebx + 0x5d4]
push ecx
call sub.USER32.dll_EnableWindow
push 5
mov eax, dword [ebx + 0x5d4]
push eax
call sub.USER32.dll_ShowWindow
mov edx, dword [ebx + 0x5d4]
push edx
call sub.USER32.dll_SetFocus
jmp 0x4a29f5
push edi
push 5
push esi
call fcn.004a0188
test eax, eax
jne 0x4a1e14
push 0
call sub.USER32.dll_MessageBeep
push 5
call fcn.004ba360
jmp 0x4a29f5
push edi
call fcn.0049fee4
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
push edi
push 4
push esi
call fcn.004a0188
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
mov ecx, dword [0x4fa224]
push ecx
call sub.USER32.dll_IsMenu
test eax, eax
je 0x4a29f5
cmp dword [0x4f9f54], 0
je 0x4a1ea0
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x4a1e93
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x4a1ea0
call fcn.00499efc
test eax, eax
je 0x4a29f5
lea esi, [edi - 0x514]
mov eax, esi
cmp eax, 0x78
jg 0x4a1ecb
je 0x4a1f47
sub eax, 0x65
je 0x4a1eda
dec eax
sub eax, 5
jb 0x4a1ef3
add eax, 0xfffffff6
sub eax, 2
jb 0x4a1ef3
jmp 0x4a1f82
sub eax, 0x79
je 0x4a1f0c
sub eax, 0xc
je 0x4a1ef3
jmp 0x4a1f82
push 0
push esi
push 0x111
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_PostMessageA
jmp 0x4a29f5
push 3
push esi
push 0x111
mov ecx, dword [0x4fd9ec]
push ecx
call sub.USER32.dll_PostMessageA
jmp 0x4a29f5
mov eax, dword [0x4fda08]
push eax
call fcn.004eae80
mov ebx, eax
test ebx, ebx
jne 0x4a2058
push 0
push esi
push 0x111
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_SendMessageA
mov edx, dword [0x4fda08]
push edx
call fcn.004eae80
mov ebx, eax
jmp 0x4a2058
mov eax, dword [0x4fda04]
push eax
call fcn.004eae80
mov ebx, eax
test ebx, ebx
jne 0x4a2058
push 0
push esi
push 0x111
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_SendMessageA
mov edx, dword [0x4fda04]
push edx
call fcn.004eae80
mov ebx, eax
jmp 0x4a2058
lea esi, [edi - 0x60e]
test esi, esi
jge 0x4a1fa6
push edi
call fcn.0049fee4
test eax, eax
jne 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
test esi, esi
jne 0x4a1fb2
mov ebx, dword [0x4fd9e4]
jmp 0x4a1fb4
xor ebx, ebx
test ebx, ebx
jne 0x4a2058
push 0
push 0x64
push 0x515718
push edi
mov eax, dword [0x4fa224]
push eax
call sub.USER32.dll_GetMenuStringA
test eax, eax
jle 0x4a29f5
mov ebx, dword [0x4fd9e4]
test ebx, ebx
je 0x4a2017
cmp byte [ebx + 0x4cc], 1
jne 0x4a200d
cmp esi, 1
jg 0x4a200c
push 0x515718
lea eax, [ebx + 4]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
je 0x4a2008
xor ebx, ebx
xor esi, esi
jmp 0x4a2017
dec esi
mov ebx, dword [ebx + 0x828]
test ebx, ebx
jne 0x4a1fe3
cmp esi, 1
jl 0x4a2058
mov ebx, dword [0x4fd9e4]
test ebx, ebx
je 0x4a2058
cmp byte [ebx + 0x4cc], 2
jne 0x4a204e
cmp esi, 1
jg 0x4a204d
push 0x515718
lea eax, [ebx + 4]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
je 0x4a2058
xor ebx, ebx
jmp 0x4a2058
dec esi
mov ebx, dword [ebx + 0x828]
test ebx, ebx
jne 0x4a2026
test ebx, ebx
je 0x4a29f5
mov eax, dword [ebx]
push eax
call fcn.004e8a90
test eax, eax
je 0x4a209d
xor edx, edx
mov dword [0x4f9f54], edx
push 5
mov ecx, dword [0x4fd9ec]
push ecx
call sub.USER32.dll_ShowWindow
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_SetForegroundWindow
cmp dword [0x4fd514], 0
je 0x4a209d
push 2
call fcn.004e4198
mov edx, dword [ebx]
push edx
call sub.USER32.dll_IsIconic
test eax, eax
je 0x4a20b5
push 1
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_ShowWindow
jmp 0x4a20cb
mov eax, dword [ebx]
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x4a20cb
push 5
mov edx, dword [ebx]
push edx
call sub.USER32.dll_ShowWindow
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_BringWindowToTop
mov eax, dword [ebx]
push eax
call sub.USER32.dll_SetForegroundWindow
mov edx, dword [ebx]
push edx
call sub.USER32.dll_SetFocus
jmp 0x4a29f5
cmp dword [0x4f1c80], 0
je 0x4a29f5
cmp edi, 0x514
jne 0x4a2115
mov ecx, dword [0x4f1c80]
mov eax, dword [ecx]
push eax
call fcn.0041c1cc
jmp 0x4a29f5
cmp edi, 0x515
jne 0x4a2130
mov edx, dword [0x4f1c80]
mov ecx, dword [edx]
push ecx
call fcn.0041c354
jmp 0x4a29f5
lea eax, [edi - 0x516]
push eax
mov edx, dword [0x4f1c80]
mov ecx, dword [edx]
push ecx
call fcn.0041ce90
mov eax, dword [0x4f1c80]
cmp dword [eax + 0x5dc], 0
je 0x4a29f5
mov edx, dword [0x4f1c80]
push edx
call fcn.004562a8
jmp 0x4a29f5
cmp dword [0x4fa2ac], 0xe
jne 0x4a21a3
cmp edi, 0x514
je 0x4a2181
cmp edi, 0x515
jne 0x4a2188
mov ebx, 0x4fcfb8
jmp 0x4a21c9
cmp edi, 0x516
je 0x4a219c
cmp edi, 0x517
jne 0x4a29f5
mov ebx, 0x4fd0cc
jmp 0x4a21c9
cmp dword [0x4fa2ac], 0xf
jne 0x4a29f5
cmp edi, 0x514
je 0x4a21c4
cmp edi, 0x515
jne 0x4a29f5
mov ebx, 0x4fcb9c
cmp edi, 0x514
je 0x4a21dd
cmp edi, 0x516
jne 0x4a22f8
cmp byte [ebx + 0x14], 0
je 0x4a220e
lea eax, [ebx + 0x14]
push edi
mov edi, eax
mov esi, 0x51f91f
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x4a2225
push 0x506910
push 0x4fa646
push 0x51f91f
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp ebx, 0x4fd0cc
jne 0x4a223e
push 0x515718
push 0xf0f
call fcn.0041f178
jmp 0x4a224d
push 0x515718
push 0xf10
call fcn.0041f178
push 0x1e
push 0x515718
push 6
mov eax, dword [ebx]
push eax
call fcn.004d20cc
test eax, eax
je 0x4a29f5
push edi
mov esi, 0x506910
mov edi, 0x51f91f
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push edi
mov esi, 0x515718
mov edi, 0x51f91f
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0x51fa9f
push 0x515718
call fcn.0040123c
add esp, 8
push 1
push 0x515718
push ebx
call fcn.004211bc
test eax, eax
je 0x4a22ec
cmp edi, 0x514
je 0x4a29f5
jmp 0x4a29f5
push 0
call sub.USER32.dll_MessageBeep
jmp 0x4a29f5
cmp edi, 0x515
je 0x4a230c
cmp edi, 0x517
jne 0x4a29f5
push 1
push ebx
call fcn.00421574
jmp 0x4a29f5
add edi, 0xfffffaec
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x40]
push eax
push 0x4fa64f
push 0x5128ca
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x4f2218
push 0x3e7
push 0x5124e3
push 0x4fa65e
push 0x5128ca
push 0x4fa654
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [0x5124e3], 0
je 0x4a29f5
push 0x5124e3
call fcn.00499d38
test eax, eax
je 0x4a23ae
push 0x5124e3
push 0x4fa662
push 0x504a33
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0x504a33
mov edx, dword [0x4fd9fc]
push edx
call fcn.004864e8
jmp 0x4a29f5
push 0x5124e3
push 0x8b0
call fcn.0041f178
mov ecx, dword [0x4f29d8]
push ecx
push 0x5124e3
mov eax, dword [0x4fd9fc]
push eax
call fcn.004bd330
jmp 0x4a29f5
mov edx, dword [0x4fa224]
push edx
call sub.USER32.dll_IsMenu
test eax, eax
je 0x4a29f5
push 0
push 0x64
push 0x515718
push edi
mov ecx, dword [0x4fa224]
push ecx
call sub.USER32.dll_GetMenuStringA
test eax, eax
jle 0x4a29f5
push 0
push 0
push 0
push 0
push 0
push 0x515718
call fcn.0042742c
jmp 0x4a29f5
mov eax, dword [0x4fa224]
push eax
call sub.USER32.dll_IsMenu
test eax, eax
je 0x4a29f5
push 0
push 0x64
push 0x515aff
push edi
mov edx, dword [0x4fa224]
push edx
call sub.USER32.dll_GetMenuStringA
test eax, eax
jle 0x4a29f5
cmp byte [0x5187d6], 0
je 0x4a29f5
mov esi, 0x515718
mov edi, 0x5187d6
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 1
push 0x515aff
push 0x515718
mov eax, dword [0x4fd9fc]
push eax
call fcn.004864e8
jmp 0x4a29f5
cmp dword [0x4f6bec], 0
je 0x4a29f5
cmp byte [0x510dec], 0
je 0x4a29f5
cmp edi, 0x514
jne 0x4a252f
push 0x510dec
call fcn.00499d38
test eax, eax
je 0x4a2507
push 0x510dec
push 0x4fa66c
push 0x515718
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0x515718
mov edx, dword [0x4fd9fc]
push edx
call fcn.004864e8
jmp 0x4a2565
push 0x515718
push 0x8b0
call fcn.0041f178
mov ecx, dword [0x4f29d8]
push ecx
push 0x515718
mov eax, dword [0x4fd9fc]
push eax
call fcn.004bd330
jmp 0x4a2565
cmp edi, 0x515
jne 0x4a2565
push 0x510dec
push 0x4fa676
push 0x515718
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0x515718
mov edx, dword [0x4fd9fc]
push edx
call fcn.004864e8
mov byte [0x510dec], 0
jmp 0x4a29f5
cmp edi, 0x514
jne 0x4a2586
xor ecx, ecx
mov dword [0x4f474c], ecx
jmp 0x4a267e
cmp edi, 0x515
jne 0x4a259d
mov dword [0x4f474c], 1
jmp 0x4a267e
cmp edi, 0x516
jne 0x4a25b4
mov dword [0x4f474c], 2
jmp 0x4a267e
cmp edi, 0x517
jne 0x4a25c8
xor eax, eax
mov dword [0x4f4754], eax
jmp 0x4a267e
cmp edi, 0x518
jne 0x4a25df
mov dword [0x4f4754], 1
jmp 0x4a267e
cmp edi, 0x519
jne 0x4a25f6
mov dword [0x4f4754], 2
jmp 0x4a267e
cmp edi, 0x51a
jne 0x4a2634
cmp dword [0x4fa8b8], 0
jne 0x4a267e
mov dword [0x4fa8b8], 1
push 0
call fcn.004a8dbc
push 0
push 0
push 0x433
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_PostMessageA
call fcn.00483d20
jmp 0x4a267e
cmp edi, 0x51b
jne 0x4a265b
cmp dword [0x4fa8b8], 0
je 0x4a267e
xor ecx, ecx
mov dword [0x4fa8b8], ecx
push 0
call fcn.004a8dbc
call fcn.00483d20
jmp 0x4a267e
cmp edi, 0x51c
jne 0x4a266f
mov dword [0x4f4990], 1
jmp 0x4a267e
cmp edi, 0x51d
jne 0x4a267e
xor eax, eax
mov dword [0x4f4990], eax
call fcn.00485c5c
jmp 0x4a29f5
xor edx, edx
mov dword [ebp - 0x44], edx
push esi
call fcn.004cee98
mov ebx, eax
test ebx, ebx
jne 0x4a26ac
push esi
call fcn.00469dfc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4a29f5
cmp edi, 0x514
jne 0x4a26d4
test ebx, ebx
je 0x4a29f5
cmp dword [ebx + 0x3fc], 0
jne 0x4a29f5
push ebx
call fcn.004cf92c
jmp 0x4a29f5
cmp edi, 0x515
jne 0x4a2740
test ebx, ebx
je 0x4a2708
push 0
push 0x139b
call fcn.0041f178
push eax
push 1
push 1
push 1
push 1
push ebx
call fcn.004e1fe0
push 1
push ebx
call fcn.004ced48
jmp 0x4a29f5
cmp dword [ebp - 0x44], 0
je 0x4a29f5
push 0
push 0xb67
call fcn.0041f178
push eax
push 1
push 1
push 1
push 1
mov eax, dword [ebp - 0x44]
push eax
call fcn.004e2c0c
push 1
mov edx, dword [ebp - 0x44]
push edx
call fcn.00469ccc
jmp 0x4a29f5
cmp edi, 0x516
jne 0x4a29f5
push 0
push 0
push 0x10
push esi
call sub.USER32.dll_SendMessageA
jmp 0x4a29f5
mov ecx, dword [0x4fa224]
push ecx
call sub.USER32.dll_IsMenu
test eax, eax
je 0x4a29f5
push 0
push 0x64
push 0x515718
push edi
mov eax, dword [0x4fa224]
push eax
call sub.USER32.dll_GetMenuStringA
test eax, eax
jle 0x4a29f5
push 0
push 0
push 0
push 0x515718
call fcn.004cf1cc
jmp 0x4a29f5
mov edx, dword [0x4fa224]
push edx
call sub.USER32.dll_IsMenu
test eax, eax
je 0x4a29f5
push 0
push 0x64
push 0x515718
push edi
mov ecx, dword [0x4fa224]
push ecx
call sub.USER32.dll_GetMenuStringA
test eax, eax
jle 0x4a29f5
cmp dword [0x4fa2ac], 0x18
jne 0x4a289f
mov ebx, dword [0x4f1b08]
test ebx, ebx
je 0x4a29f5
push 0x50d1f7
push 0x50d0f7
push 0x50cff7
push 0x50cff4
push ebx
call fcn.00405b58
add esp, 0x14
push 0x50d1f7
push 0x50d0f7
push 0x4fa681
push 0x515aff
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x515aff
push 0x515718
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4a288c
call fcn.00419a48
test eax, eax
je 0x4a2850
xor edx, edx
mov dword [eax + 0x130], edx
xor eax, eax
mov dword [0x4fc11c], eax
mov dword [ebx + 0x130], 1
cmp dword [0x4fc118], 0
jne 0x4a2874
call fcn.004cd5a8
jmp 0x4a29f5
mov ecx, dword [0x4fc118]
push ecx
call fcn.00418318
push 0
call fcn.004cd5f4
jmp 0x4a29f5
mov ebx, dword [ebx + 0x14c]
test ebx, ebx
jne 0x4a27f0
jmp 0x4a29f5
cmp dword [0x4fa2ac], 0x19
jne 0x4a291e
add edi, 0xfffffaec
mov dword [ebp - 0x48], edi
cmp dword [ebp - 0x48], 0
jge 0x4a28bd
cmp dword [ebp - 0x48], 4
jg 0x4a291e
call fcn.004ba2b0
test eax, eax
je 0x4a28ce
xor edx, edx
mov dword [eax + 0x130], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004ba280
test eax, eax
je 0x4a29f5
mov dword [0x4fc11c], 1
mov dword [eax + 0x130], 1
cmp dword [0x4fc118], 0
jne 0x4a2906
call fcn.004cd5a8
jmp 0x4a29f5
mov ecx, dword [0x4fc118]
push ecx
call fcn.004b9068
push 1
call fcn.004cd5f4
jmp 0x4a29f5
cmp dword [0x4fa2ac], 0x1a
jne 0x4a29f5
mov ebx, dword [0x4fbcf4]
test ebx, ebx
je 0x4a29f5
cmp dword [ebx + 0x120], 2
jne 0x4a29de
push 0x50d1f7
push 0x50d0f7
push 0x50cff7
push 0x50cff4
push ebx
call fcn.00405b58
add esp, 0x14
push 0x50d1f7
push 0x50d0f7
push 0x4fa687
push 0x515aff
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x515aff
push 0x515718
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4a29de
call fcn.004cbf40
test eax, eax
je 0x4a29a6
xor edx, edx
mov dword [eax + 0x130], edx
mov dword [0x4fc11c], 2
mov dword [ebx + 0x130], 1
cmp dword [0x4fc118], 0
jne 0x4a29ca
call fcn.004cd5a8
jmp 0x4a29f5
mov eax, dword [0x4fc118]
push eax
call fcn.004bfd8c
push 2
call fcn.004cd5f4
jmp 0x4a29f5
mov ebx, dword [ebx + 0x14c]
test ebx, ebx
jne 0x4a2939
jmp 0x4a29f5
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 0
je 0x4a2a05
mov eax, dword [ebp - 4]
push eax
call fcn.0040c454
pop ecx
cmp dword [ebp - 8], 0
je 0x4a2a10
call fcn.0049f6e8
mov byte [0x4fa23c], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8