Function at 0x4633f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7adb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], ecx
mov eax, dword [ebp - 0x2dc]
add eax, 0x3c
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2dc]
movzx eax, byte [edx + 0xcdc]
test eax, eax
jne 0x463478
mov byte [ebp - 0x1c5], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x1c5]
jmp 0x4644ee
push 0x64
push 0
lea edx, [ebp - 0xe4]
push edx
call fcn.005ccbd0
add esp, 0xc
mov dword [ebp - 0xe4], 0x64
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x54], 1
mov ecx, dword [ebp - 0x2dc]
movzx edx, byte [ecx + 0x38]
test edx, edx
je 0x463508
xor eax, eax
cmp dword [0x66c470], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x4634fa
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x54], 0
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x38], 0
mov byte [ebp - 0x1c6], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x1c6]
jmp 0x4644ee
mov edx, dword [ebp - 0x2dc]
mov ecx, dword [edx + 0x30]
call fcn.0046c130
cmp dword [ebp + 8], 0
je 0x463523
mov eax, dword [ebp - 0x2dc]
movzx ecx, byte [eax + 0x9c]
test ecx, ecx
je 0x4636cf
mov edx, dword [ebp - 0x2dc]
add edx, 0xb0
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 4]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x260]
add edx, dword [eax + 8]
mov dword [ebp - 0x254], edx
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x260]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x250], edx
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x7c]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x1e0], ecx
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x1dc], edx
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x1e8]
add edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x1e4]
add eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x104], edx
jmp 0x463803
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
add edx, dword [eax + 8]
mov dword [ebp - 0x280], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x27c], edx
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
add edx, dword [eax + 8]
mov dword [ebp - 0x290], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x28c], edx
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x2dc]
movzx ecx, byte [eax + 0x9c]
test ecx, ecx
je 0x46381e
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0xce0]
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
push 4
push 0
lea edx, [ebp - 0x7c]
push edx
call fcn.005ccbd0
add esp, 0xc
mov dword [ebp - 0x7c], 0x6c
push 0
push 0x11
lea eax, [ebp - 0x7c]
push eax
push 0
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x68]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x64]
call eax
push 0
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x68]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x80]
call eax
mov ecx, dword [ebp - 0x2dc]
movzx edx, byte [ecx + 0xce4]
test edx, edx
je 0x4641c1
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x2dc]
movzx ecx, byte [eax + 0xd10]
test ecx, ecx
jne 0x46409b
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x2dc]
cmp dword [ecx + 0x6c], 0
je 0x463c18
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x130], 0
jmp 0x463963
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 4
jge 0x463be8
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x2dc]
cmp dword [edx + ecx*4 + 0x6c], 0
je 0x463be8
cmp dword [ebp - 0x130], 3
je 0x4639a7
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x2dc]
cmp dword [ecx + eax*4 + 0x70], 0
jne 0x463a6a
mov edx, dword [ebp - 0x2dc]
add edx, 0xb0
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2ac]
add edx, dword [eax + 8]
mov dword [ebp - 0x2a0], edx
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x2ac]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x29c], edx
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0xf4], edx
jmp 0x463b54
mov eax, dword [ebp - 0x104]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x108]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x2c4], edx
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x238]
add ecx, dword [ebp - 0x230]
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x234]
add edx, dword [ebp - 0x22c]
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0xe4]
push edx
push 0x1000000
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + eax*4 + 0x6c]
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x2dc]
mov eax, dword [ecx + eax*4 + 0x6c]
mov ecx, dword [edx]
push eax
mov edx, dword [ecx + 0x14]
call edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + eax*4 + 0x6c]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x104], eax
jmp 0x463954
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0xd20]
mov dword [edx + 0xd28], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0xd24]
mov dword [edx + 0xd2c], ecx
push 0
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x2dc]
call fcn.00464830
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x2c]
movzx edx, byte [ecx + 0x664]
test edx, edx
je 0x464023
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x2c]
movzx edx, byte [ecx + 0x665]
test edx, edx
jne 0x464023
mov byte [ebp - 0x131], 0
mov eax, dword [ebp - 0x2dc]
cmp dword [eax + 0xcc], 3
jl 0x463ca9
mov byte [ebp - 0x131], 1
movzx ecx, byte [ebp - 0x131]
test ecx, ecx
jne 0x463fb7
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0xc4]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0xfc]
add ecx, dword [ebp - 0x148]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0xfc]
add eax, dword [edx + 0x80]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x13c], 0x7fffffff
mov byte [ebp - 0x149], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x58]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x40]
call ecx
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x463d8a
mov edx, dword [ebp - 0x140]
sub edx, dword [ebp - 0x13c]
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 0
jle 0x463d72
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x118]
jl 0x463d81
movzx ecx, byte [ebp - 0x149]
test ecx, ecx
je 0x463d7f
jmp 0x463ddb
jmp 0x463d88
mov byte [ebp - 0x149], 1
jmp 0x463dae
cmp dword [ebp - 0x114], 0x88760219
jne 0x463da5
movzx edx, byte [ebp - 0x149]
test edx, edx
je 0x463da3
jmp 0x463ddb
jmp 0x463dae
mov byte [ebp - 0x131], 1
jmp 0x463ddb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x138]
cmp eax, 0xc8
jb 0x463dd6
mov byte [ebp - 0x131], 1
jmp 0x463ddb
jmp 0x463d19
movzx ecx, byte [ebp - 0x131]
test ecx, ecx
jne 0x463f9c
mov edx, dword [ebp - 0x2dc]
mov dword [edx + 0xcc], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x158], ecx
lea edx, [ebp - 0xe4]
push edx
push 0x1000000
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x60]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x58]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x40]
call ecx
test eax, eax
jl 0x463ef7
mov edx, dword [ebp - 0x144]
sub edx, dword [ebp - 0x13c]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x198]
jb 0x463ef5
cmp dword [ebp - 0x19c], 0
jg 0x463ef7
jmp 0x463ef9
jmp 0x463ea7
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x178], edx
lea eax, [ebp - 0xe4]
push eax
push 0x1000000
lea ecx, [ebp - 0x184]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x60]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x114], eax
jmp 0x463fb7
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0xcc]
add edx, 1
mov eax, dword [ebp - 0x2dc]
mov dword [eax + 0xcc], edx
movzx ecx, byte [ebp - 0x131]
test ecx, ecx
je 0x464021
push 0
push 1
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x58]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x58]
call ecx
lea edx, [ebp - 0xe4]
push edx
push 0x1000000
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x60]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x114], eax
jmp 0x464064
lea eax, [ebp - 0xe4]
push eax
push 0x1000000
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x60]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x2dc]
movzx edx, byte [ecx + 0xd34]
test edx, edx
je 0x464096
push 0
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x2dc]
call fcn.00464500
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0xd34], 1
jmp 0x46416c
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x2c]
movzx ecx, byte [eax + 0x664]
test ecx, ecx
je 0x4640e1
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x2c]
movzx ecx, byte [eax + 0x665]
test ecx, ecx
jne 0x4640e1
push 0
push 1
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x58]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x58]
call ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0xd20]
mov dword [edx + 0xd28], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0xd24]
mov dword [edx + 0xd2c], ecx
push 1
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp - 0x2dc]
call fcn.00464830
lea ecx, [ebp - 0xe4]
push ecx
push 0x1000000
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x64]
push ecx
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x60]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x54], 0
push str.Redraw_Windowed
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x2dc]
call fcn.004603a0
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x249], dl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x249]
jmp 0x4644ee
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x2c]
movzx eax, byte [edx + 0x39c]
test eax, eax
jne 0x464449
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x2c]
movzx eax, byte [edx + 0x39d]
test eax, eax
je 0x464449
mov ecx, dword [ebp - 0x2dc]
movzx edx, byte [ecx + 0xd10]
test edx, edx
jne 0x464246
lea eax, [ebp - 0xe4]
push eax
push 0x1000000
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x68]
push eax
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x64]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x64]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x2dc]
movzx eax, byte [edx + 0x38]
test eax, eax
je 0x464389
mov ecx, dword [ebp - 0x2dc]
movzx edx, byte [ecx + 0x9c]
test edx, edx
je 0x464389
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0xa4]
mov dword [ebp - 0x2cc], ecx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0xa0]
sub edx, dword [ebp - 0xf8]
mov dword [ebp - 0x2d4], edx
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1bc], 0
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1a8], 0
jle 0x464352
push 0x66c44c
lea ecx, [ebp - 0x1b0]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0xcec]
mov ecx, dword [ebp - 0x2dc]
mov ecx, dword [ecx + 0xcec]
mov edx, dword [eax]
mov eax, dword [edx + 0x94]
call eax
cmp dword [ebp - 0x1b8], 0
jle 0x464389
push 0x66c44c
lea ecx, [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0xcec]
mov ecx, dword [ebp - 0x2dc]
mov ecx, dword [ecx + 0xcec]
mov edx, dword [eax]
mov eax, dword [edx + 0x94]
call eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0xd20]
mov dword [ecx + 0xd28], eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0xd24]
mov dword [ecx + 0xd2c], eax
push 1
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x64]
push edx
mov ecx, dword [ebp - 0x2dc]
call fcn.00464830
push 1
push 0
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x60]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x2c]
call edx
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x54], 0
push str.Redraw_FullScreen_Flip
mov ecx, dword [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp - 0x2dc]
call fcn.004603a0
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x24a], dl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x24a]
jmp 0x4644ee
lea ecx, [ebp - 0xe4]
push ecx
push 0x1000000
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x68]
push ecx
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x60]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x54], 0
push str.Redraw_FullScreen_Blt
mov ecx, dword [ebp - 0x1c4]
push ecx
mov ecx, dword [ebp - 0x2dc]
call fcn.004603a0
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x24b], dl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x24b]
jmp 0x4644ee
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4