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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x13c]
mov ecx, 0x4f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x462648
call fcn.0042fb30
mov dword [ebp - 0x14], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x33]
test ecx, ecx
je 0x428d55
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 4
je 0x428d71
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
call fcn.00430b70
movzx ecx, al
test ecx, ecx
jne 0x428d71
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x32]
test ecx, ecx
je 0x428d55
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
call fcn.00430180
movzx ecx, al
test ecx, ecx
je 0x428d71
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 4
jne 0x428e61
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x31]
test ecx, ecx
jne 0x428e61
mov eax, dword [ebp - 8]
mov cx, word [eax + 4]
push ecx
mov ecx, 0x462588
call fcn.0042c140
push 0xff
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 0x10
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
push 1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
call fcn.00429c80
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x428dd2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x5c], eax
jmp 0x428dde
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5c]
mov dword [0x46263c], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x5c], 0
je 0x428df8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
jmp 0x428e04
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x60]
mov dword [0x462638], ecx
mov eax, dword [0x462640]
sub eax, 1
mov dword [0x462640], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0
je 0x428e52
mov esi, esp
push 1
mov edx, dword [ebp - 0x134]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x134]
call dword [eax]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x13c], eax
jmp 0x428e5c
mov dword [ebp - 0x13c], 0
jmp 0x429492
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 3
ja case.default.0x428e80
mov edx, dword [ebp - 0x13c]
jmp dword [edx*4 + 0x4294d0]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x428f06
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x64]
cmp ecx, 0x1388
jb 0x428f06
push 0xff
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 0x11
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
push 1
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x40]
call fcn.00430460
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
call fcn.00429c80
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x64], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x48]
test ecx, ecx
jne 0x428fce
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 3
jne 0x428fce
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x428f40
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
add ecx, 0x3e8
cmp dword [ebp - 0x20], ecx
jbe 0x428fce
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x4c], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f500
push 0x200
mov ecx, dword [ebp - 0x14]
call fcn.0042f540
push 0xff
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 0xb
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
and ecx, 0x10
je 0x428fb6
mov esi, esp
push 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp esi, esp
call fcn.0043234a
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 3
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
call fcn.00429c80
mov eax, dword [ebp - 8]
cmp dword [eax + 0x68], 0
je 0x42902b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x68]
cmp ecx, 0x4e20
jb 0x42902b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
and ecx, 0x20
je 0x42901c
mov esi, esp
push 0x27450020
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp esi, esp
call fcn.0043234a
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 4
jmp case.default.0x428e80
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.0043234a
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x74], eax
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x4d], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
call fcn.00431350
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x429090
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
and ecx, 2
je 0x429090
mov esi, esp
push 2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp esi, esp
call fcn.0043234a
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x40]
call fcn.00430460
mov byte [ebp - 0x41], al
cmp dword [ebp - 0x2c], 0
je 0x429141
mov ecx, dword [ebp - 0x2c]
call fcn.0042f500
push 0xff
mov ecx, dword [ebp - 0x2c]
call fcn.0042f2e0
movzx ecx, byte [ebp - 0x41]
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 0xd
call fcn.0043316f
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0042f3a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0042f220
movzx eax, byte [ebp - 0x41]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0042f220
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20c]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0042f580
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
call fcn.00429c80
mov byte [ebp - 0x4d], 1
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
jmp 0x4291a6
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x4291a6
mov ecx, dword [ebp - 0x14]
call fcn.0042f500
push 0xc
mov ecx, dword [ebp - 0x14]
call fcn.0042f540
push 0xff
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 0xe
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
call fcn.00429c80
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x4291b8
cmp dword [ebp - 0x5c], 2
jl 0x429047
jmp case.default.0x428e80
push 0xff
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 5
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 4]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
push 9
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 4
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [0x462590]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
push 0xc
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 4
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
push 0
mov eax, dword [ebp - 8]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x462588
call fcn.0042bf50
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x6c], ecx
push 0
call fcn.00431e48
add esp, 4
mov dword [0x462634], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 0
jmp case.default.0x428e80
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x429367
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x38]
cmp ecx, 0x3e8
jb 0x429367
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 1
jbe 0x4292df
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
and ecx, 0x10
je 0x4292d0
mov esi, esp
push 0x274c0010
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp esi, esp
call fcn.0043234a
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 4
jmp 0x429367
push 0xff
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 0xa
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x31]
test ecx, ecx
je 0x42930d
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
jmp 0x429341
mov eax, dword [ebp - 8]
mov cx, word [eax + 6]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
push 0xc
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 2
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 4]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
call fcn.00429c80
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x38], ecx
jmp case.default.0x428e80
mov eax, dword [ebp - 8]
cmp dword [eax + 0x6c], 0
je case.default.0x428e80
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x6c]
cmp ecx, 0x1388
jb case.default.0x428e80
mov eax, dword [ebp - 8]
cmp dword [eax + 0x70], 3
jbe 0x4293da
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
and ecx, 0x10
je 0x4293cb
mov esi, esp
push 0x274c0010
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp esi, esp
call fcn.0043234a
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 4
jmp case.default.0x428e80
push 0xff
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 5
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov cx, word [eax + 4]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f3a0
push 9
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 4
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [0x462590]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
push 0xa
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
push 4
mov ecx, dword [ebp - 0x14]
call fcn.0042f2e0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f220
push 0
mov eax, dword [ebp - 8]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x462588
call fcn.0042bf50
push 0
call fcn.00431e48
add esp, 4
mov dword [0x462634], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x70]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x70], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, 0x462648
call fcn.0042fcd0
push edx
mov ecx, ebp
push eax
lea edx, [0x4294b7]
call fcn.0043236d
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x13c
cmp ebp, esp
call fcn.0043234a
mov esp, ebp
pop ebp
ret