Function at 0x4f97a0
Capabilities:
Check for foreground window switch

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x37
push 0
push 0
dec ecx
jne 0x4f97a8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d9c
xor eax, eax
push ebp
push 0x4fa847
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4aab00]
call fcn.004aafe8
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4fa473
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4fa860
push dword [ebp - 4]
push 0x4fa884
lea eax, [ebp - 0x48]
mov ecx, 0x4fa894
mov edx, dword [ebp - 4]
call fcn.00404bf8
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.004c1f48
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x34]
call fcn.004c2118
push dword [ebp - 0x34]
push 0x4fa8a0
mov eax, dword [0x50973c]
push dword [eax]
push 0x4fa8ac
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, ebx
call fcn.00409a54
push dword [ebp - 0x4c]
push 0x4fa8bc
mov eax, dword [0x509784]
push dword [eax + 0x34]
push 0x4fa8d4
lea edx, [ebp - 0x50]
mov eax, dword [0x509784]
mov eax, dword [eax + 4]
call fcn.0040971c
push dword [ebp - 0x50]
push 0x4fa8e4
lea edx, [ebp - 0x58]
mov eax, dword [0x509bb8]
mov eax, dword [eax]
call fcn.004827a0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x44]
call fcn.004c1fbc
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x54]
call fcn.004c2118
push dword [ebp - 0x54]
lea eax, [ebp - 8]
mov edx, 0xe
call fcn.00404c6c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00500390
cmp dword [ebp - 0x10], 0
jne 0x4f98c7
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00500390
cmp dword [ebp - 0x10], 0
jne 0x4f98e5
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.004ab534
test bl, bl
je 0x4f98f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa4ae
mov eax, dword [0x509d48]
mov dword [eax], 0x3e8
mov eax, dword [0x509804]
mov edx, 0x4fa8f4
call fcn.00404940
mov eax, dword [0x509a2c]
mov byte [eax], 0
xor eax, eax
push ebp
push 0x4f9a50
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.00500828
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004add74
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x10]
call fcn.00404984
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x10]
call fcn.00405180
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x1c]
call fcn.0048bd30
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x70]
mov edx, 0x4fa91c
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call fcn.00404b74
mov ecx, dword [ebp - 0x68]
mov edx, dword [0x50984c]
mov edx, dword [edx]
mov eax, dword [0x509d28]
mov eax, dword [eax]
call fcn.004e33f0
cmp dword [ebp - 0x14], 0
je 0x4f9a46
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x5095bc]
mov eax, dword [eax]
call fcn.004c1f48
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x78]
call fcn.004c2118
mov edx, dword [ebp - 0x78]
mov cl, 2
mov eax, dword [ebp - 0x14]
call fcn.004e8c44
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x14]
call fcn.00404984
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
call fcn.00405180
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x20]
call fcn.0048bd30
lea ecx, [ebp - 0x84]
mov edx, 0x4fa934
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [0x5095bc]
mov edx, dword [edx]
call fcn.00405180
mov edx, dword [ebp - 0x88]
pop eax
call fcn.004052b8
mov eax, dword [0x509a2c]
sete byte [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f9a6c
lea ecx, [ebp - 0x8c]
mov edx, 0x4fa934
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x8c], 0
je 0x4f9add
lea ecx, [ebp - 0x94]
mov edx, 0x4fa934
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
mov edx, dword [0x5095bc]
mov edx, dword [edx]
call fcn.00405180
mov edx, dword [ebp - 0x98]
pop eax
call fcn.004052b8
mov eax, dword [0x509a2c]
sete byte [eax]
lea ecx, [ebp - 0x9c]
mov edx, 0x4fa940
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x9c], 0
je 0x4f9b30
lea ecx, [ebp - 0xa4]
mov edx, 0x4fa940
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xa0]
mov eax, dword [0x509d60]
call fcn.00404b74
lea ecx, [ebp - 0xa8]
mov edx, 0x4fa950
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0xa8], 0
je 0x4f9b83
lea ecx, [ebp - 0xb0]
mov edx, 0x4fa950
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xac]
mov eax, dword [0x509db8]
call fcn.00404b74
lea ecx, [ebp - 0xb8]
mov edx, 0x4fa960
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xb4]
mov eax, dword [0x509bc4]
call fcn.00404b74
lea ecx, [ebp - 0xc0]
mov edx, 0x4fa970
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xbc]
mov eax, dword [0x509930]
call fcn.00404b74
lea ecx, [ebp - 0xc8]
mov edx, 0x4fa980
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xc4]
mov eax, dword [0x5099ec]
call fcn.00404b74
lea ecx, [ebp - 0xd0]
mov edx, 0x4fa990
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xcc]
mov eax, dword [0x5096f4]
call fcn.00404b74
lea ecx, [ebp - 0xd8]
mov edx, 0x4fa9a4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xd4]
mov eax, dword [0x509828]
call fcn.00404b74
lea ecx, [ebp - 0xdc]
mov edx, 0x4fa9b0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0xdc], 0
je 0x4f9cdb
lea ecx, [ebp - 0xe0]
mov edx, 0x4fa9b0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax]
call dword [edx + 0x80]
mov edx, dword [0x509d48]
mov dword [edx], eax
lea ecx, [ebp - 0xe4]
mov edx, 0x4fa9c4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0xe4], 0
je 0x4f9d2e
lea ecx, [ebp - 0xec]
mov edx, 0x4fa9c4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0xe8]
mov eax, dword [0x509bb0]
call fcn.00404b74
lea ecx, [ebp - 0xf0]
mov edx, 0x4fa9d4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0xf0], 0
je 0x4f9d73
lea ecx, [ebp - 0xf4]
mov edx, 0x4fa9d4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
call dword [edx + 0x80]
mov edx, dword [0x509a08]
mov dword [edx], eax
lea ecx, [ebp - 0xf8]
mov edx, 0x4fa9ec
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0xf8], 0
je 0x4f9db8
lea ecx, [ebp - 0xfc]
mov edx, 0x4fa9ec
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0xfc]
mov edx, dword [eax]
call dword [edx + 0x80]
mov edx, dword [0x5095b4]
mov dword [edx], eax
lea ecx, [ebp - 0x100]
mov edx, 0x4faa00
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x100], 0
je 0x4f9e0b
lea ecx, [ebp - 0x108]
mov edx, 0x4faa00
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x104]
mov eax, dword [0x50998c]
call fcn.00404b74
lea ecx, [ebp - 0x10c]
mov edx, 0x4faa18
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x10c], 0
je 0x4f9e5e
lea ecx, [ebp - 0x114]
mov edx, 0x4faa18
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x110]
mov eax, dword [0x50988c]
call fcn.00404b74
lea ecx, [ebp - 0x118]
mov edx, 0x4faa30
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x118], 0
je 0x4f9eb1
lea ecx, [ebp - 0x120]
mov edx, 0x4faa30
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x11c]
mov eax, dword [0x509d40]
call fcn.00404b74
lea ecx, [ebp - 0x124]
mov edx, 0x4faa44
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x124], 0
je 0x4f9f04
lea ecx, [ebp - 0x12c]
mov edx, 0x4faa44
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x128]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x128]
mov eax, dword [0x509a78]
call fcn.00404b74
lea ecx, [ebp - 0x130]
mov edx, 0x4faa58
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x130], 0
je 0x4f9f59
lea ecx, [ebp - 0x138]
mov edx, 0x4faa58
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x134]
mov eax, dword [0x5097e0]
call fcn.00404b74
jmp 0x4f9f63
mov eax, dword [0x5097e0]
call fcn.004048ec
lea ecx, [ebp - 0x13c]
mov edx, 0x4faa68
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x13c], 0
je 0x4f9fb8
lea ecx, [ebp - 0x144]
mov edx, 0x4faa68
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x140]
mov eax, dword [0x509854]
call fcn.00404b74
jmp 0x4f9fc2
mov eax, dword [0x509854]
call fcn.004048ec
xor eax, eax
push ebp
push 0x4fa044
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x148]
mov edx, 0x4faa78
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x148], 0
je 0x4fa03a
lea ecx, [ebp - 0x150]
mov edx, 0x4faa78
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x14c]
mov eax, dword [0x509c88]
call fcn.00404b74
mov eax, dword [0x509c88]
mov eax, dword [eax]
call fcn.00409858
sub eax, 0x14
mov edx, dword [0x50994c]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa04e
lea ecx, [ebp - 0x154]
mov edx, 0x4faa94
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x154], 0
je 0x4fa0b8
lea ecx, [ebp - 0x15c]
mov edx, 0x4faa94
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x158]
mov eax, dword [0x509ce4]
call fcn.00404b74
mov eax, dword [0x509ce4]
mov eax, dword [eax]
call fcn.00409858
sub eax, 0x50
mov edx, dword [0x509710]
mov dword [edx], eax
lea ecx, [ebp - 0x160]
mov edx, 0x4faab0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x160], 0
je 0x4fa109
lea ecx, [ebp - 0x168]
mov edx, 0x4faab0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x24]
call fcn.00404b74
lea ecx, [ebp - 0x16c]
mov edx, 0x4faabc
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x16c], 0
je 0x4fa15a
lea ecx, [ebp - 0x174]
mov edx, 0x4faabc
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 0x28]
call fcn.00404b74
lea ecx, [ebp - 0x178]
mov edx, 0x4faac8
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x178], 0
je 0x4fa1ab
lea ecx, [ebp - 0x180]
mov edx, 0x4faac8
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x2c]
call fcn.00404b74
lea ecx, [ebp - 0x184]
mov edx, 0x4faad4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x184], 0
je 0x4fa1fc
lea ecx, [ebp - 0x18c]
mov edx, 0x4faad4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0x30]
call fcn.00404b74
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.00500a6c
mov ebx, eax
test bl, bl
jne 0x4fa248
mov eax, dword [ebp - 0x30]
mov edx, 0x4faaec
call fcn.00404cf8
jne 0x4fa248
push 0x30
push 0x4faaf4
push 0x4faafc
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_MessageBoxA_1
push 1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.00500a6c
test bl, bl
jne 0x4fa296
mov eax, dword [ebp - 0x30]
mov edx, 0x4fab44
call fcn.00404cf8
jne 0x4fa296
mov eax, dword [0x509ba8]
mov eax, dword [eax]
mov edx, 0x4fab54
call fcn.004f5614
mov eax, dword [0x509ba8]
cmp dword [eax], 0
je 0x4fa282
mov eax, dword [0x509ba8]
mov eax, dword [eax]
call fcn.00425278
mov eax, dword [0x509b2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x374]
xor edx, edx
call fcn.0043731c
lea ecx, [ebp - 0x190]
mov edx, 0x4fabac
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x190], 0
je 0x4fa331
lea ecx, [ebp - 0x198]
mov edx, 0x4fabac
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x194]
mov edx, 0x4fabc4
call fcn.004052b8
je 0x4fa331
lea ecx, [ebp - 0x1a0]
mov edx, 0x4fabac
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x19c]
mov eax, dword [0x509d50]
add eax, 0x4c
call fcn.00404b74
mov eax, dword [0x509b2c]
mov eax, dword [eax]
call fcn.004dd50c
lea ecx, [ebp - 0x1a4]
mov edx, 0x4fabcc
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
cmp dword [ebp - 0x1a4], 0
je 0x4fa400
xor eax, eax
push ebp
push 0x4fa3f6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x30
push 0x4faaf4
push 0x4fabdc
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_MessageBoxA_1
push 0x4fac10
lea ecx, [ebp - 0x1b4]
mov edx, 0x4fabcc
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x1b4]
lea edx, [ebp - 0x1b0]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
push dword [ebp - 0x1b0]
push 0x4fac48
lea eax, [ebp - 0x1ac]
mov edx, 3
call fcn.00405270
mov edx, dword [ebp - 0x1ac]
lea eax, [ebp - 0x1a8]
call fcn.00404b74
mov edx, dword [ebp - 0x1a8]
mov eax, dword [0x509ba8]
mov eax, dword [eax]
call fcn.004f5614
mov eax, dword [0x509ba8]
mov eax, dword [eax]
call fcn.00425278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa400
mov eax, dword [0x509ba8]
cmp dword [eax], 0
je 0x4fa469
mov eax, dword [0x509828]
cmp dword [eax], 0
je 0x4fa469
xor eax, eax
push ebp
push 0x4fa45f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4fac74
mov eax, dword [0x509828]
push dword [eax]
push 0x4fac90
lea eax, [ebp - 0x1b8]
mov edx, 3
call fcn.00404c6c
mov edx, dword [ebp - 0x1b8]
mov eax, dword [0x509ba8]
mov eax, dword [eax]
call fcn.004f5614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa469
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa48a
mov eax, dword [0x509b2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x420]
mov dl, 1
call fcn.0043731c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x58]
mov eax, dword [ebp - 0x18]
call fcn.00403ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa851
lea eax, [ebp - 0x1b8]
call fcn.004048ec
lea eax, [ebp - 0x1b4]
call fcn.004067c4
lea eax, [ebp - 0x1b0]
mov edx, 2
call fcn.00405010
lea eax, [ebp - 0x1a8]
call fcn.004048ec
lea eax, [ebp - 0x1a4]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x19c]
call fcn.00404ff8
lea eax, [ebp - 0x198]
call fcn.004067c4
lea eax, [ebp - 0x194]
call fcn.00404ff8
lea eax, [ebp - 0x190]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x188]
call fcn.00404ff8
lea eax, [ebp - 0x184]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x17c]
call fcn.00404ff8
lea eax, [ebp - 0x178]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x170]
call fcn.00404ff8
lea eax, [ebp - 0x16c]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x164]
call fcn.00404ff8
lea eax, [ebp - 0x160]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x158]
call fcn.00404ff8
lea eax, [ebp - 0x154]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x14c]
call fcn.00404ff8
lea eax, [ebp - 0x148]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x140]
call fcn.00404ff8
lea eax, [ebp - 0x13c]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x134]
call fcn.00404ff8
lea eax, [ebp - 0x130]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x128]
call fcn.00404ff8
lea eax, [ebp - 0x124]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x11c]
call fcn.00404ff8
lea eax, [ebp - 0x118]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x110]
call fcn.00404ff8
lea eax, [ebp - 0x10c]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0x104]
call fcn.00404ff8
lea eax, [ebp - 0x100]
mov edx, dword [0x48b66c]
mov ecx, 6
call fcn.00405508
lea eax, [ebp - 0xe8]
call fcn.00404ff8
lea eax, [ebp - 0xe4]
mov edx, dword [0x48b66c]
mov ecx, 4
call fcn.00405508
lea eax, [ebp - 0xd4]
call fcn.00404ff8
lea eax, [ebp - 0xd0]
call fcn.004067c4
lea eax, [ebp - 0xcc]
call fcn.00404ff8
lea eax, [ebp - 0xc8]
call fcn.004067c4
lea eax, [ebp - 0xc4]
call fcn.00404ff8
lea eax, [ebp - 0xc0]
call fcn.004067c4
lea eax, [ebp - 0xbc]
call fcn.00404ff8
lea eax, [ebp - 0xb8]
call fcn.004067c4
lea eax, [ebp - 0xb4]
call fcn.00404ff8
lea eax, [ebp - 0xb0]
call fcn.004067c4
lea eax, [ebp - 0xac]
call fcn.00404ff8
lea eax, [ebp - 0xa8]
mov edx, dword [0x48b66c]
mov ecx, 2
call fcn.00405508
lea eax, [ebp - 0xa0]
call fcn.00404ff8
lea eax, [ebp - 0x9c]
call fcn.004067c4
lea eax, [ebp - 0x98]
call fcn.00404ff8
lea eax, [ebp - 0x94]
call fcn.004067c4
lea eax, [ebp - 0x90]
call fcn.00404ff8
lea eax, [ebp - 0x8c]
call fcn.004067c4
lea eax, [ebp - 0x88]
call fcn.00404ff8
lea eax, [ebp - 0x84]
call fcn.004067c4
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00405010
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00404910
lea eax, [ebp - 0x70]
call fcn.004067c4
lea eax, [ebp - 0x6c]
call fcn.00404ff8
lea eax, [ebp - 0x68]
call fcn.004048ec
lea eax, [ebp - 0x64]
call fcn.00404ff8
lea eax, [ebp - 0x60]
mov edx, 7
call fcn.00404910
lea eax, [ebp - 0x34]
call fcn.004048ec
lea eax, [ebp - 0x1c]
call fcn.004067c4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404910
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404910
lea eax, [ebp - 0x20]
call fcn.004067c4
ret