Function at 0x4204e0
Capabilities:
Check for time delay via gettickcount
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5502c7
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5aa464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 7
push eax
push 0x58d684
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.004067d0
push str.XJVideoTools
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004124c0
push str._un_asa.exe
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.00418690
add esp, 8
mov edi, eax
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x4205a0
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x420583
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x34], 7
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00409750
mov eax, dword [ebp - 0x278]
cmp eax, 8
jb 0x4205be
inc eax
lea ecx, [ebp - 0x28c]
push eax
push dword [ebp - 0x28c]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x27c], 0
cmp eax, 8
jb 0x4205f3
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406f30
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
call fcn.00416d20
test eax, eax
je 0x42075f
cmp byte [0x5b0ac0], 0
jne 0x42075f
push 0x58f720
lea ecx, [ebp - 0x30]
call fcn.00406560
push 0xffffffffffffffff
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x264]
push 0x58d684
mov dword [ebp - 0x26c], 4
mov dword [ebp - 0x268], 0x93
call fcn.00453f90
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
call fcn.00453f90
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x13
call fcn.00406560
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x14
call fcn.00406560
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x15
mov ecx, esi
call fcn.004250f0
push eax
push 0
lea eax, [ebp - 0x2a4]
mov ecx, edi
push eax
call fcn.00425080
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x4206be
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.00453f90
lea ecx, [ebp - 0x2a4]
call fcn.00406520
lea ecx, [ebp - 0x28c]
call fcn.00406520
lea ecx, [ebp - 0xa8]
call fcn.00406520
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov ecx, ebx
push 0x58f760
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00494430
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00453bd0
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.004540b0
lea ecx, [ebp - 0x1e0]
call fcn.004540b0
lea ecx, [ebp - 0x264]
call fcn.004540b0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00406520
cmp byte [ebx + 0x7b8], 0
je 0x420758
push 1
mov ecx, ebx
call fcn.0046a980
xor bl, bl
jmp 0x4210c1
push 0x10
xor eax, eax
mov dword [ebp - 0x64], 7
push 0x58e880
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
call fcn.004067d0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
cmovae ecx, dword [ebp - 0x78]
call fcn.00416d20
test eax, eax
je 0x4208e9
cmp byte [0x5b0ac0], 0
jne 0x4208e9
push 0x58f720
lea ecx, [ebp - 0x30]
call fcn.00406560
push 0xffffffffffffffff
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x264]
push 0x58d684
mov dword [ebp - 0x26c], 4
mov dword [ebp - 0x268], 0x93
call fcn.00453f90
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x28
call fcn.00453f90
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x29
call fcn.00406560
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x2a
call fcn.00406560
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x2b
mov ecx, esi
call fcn.004250f0
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00425080
mov byte [ebp - 4], 0x2c
cmp dword [eax + 0x14], 8
jb 0x420851
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.00453f90
lea ecx, [ebp - 0xa8]
call fcn.00406520
lea ecx, [ebp - 0x2a4]
call fcn.00406520
lea ecx, [ebp - 0x28c]
call fcn.00406520
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov ecx, ebx
push 0x58f760
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00494430
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00453bd0
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.004540b0
lea ecx, [ebp - 0x1e0]
call fcn.004540b0
lea ecx, [ebp - 0x264]
call fcn.004540b0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x18
call fcn.00406520
push 1
mov ecx, ebx
call fcn.0046a980
xor bl, bl
jmp 0x421098
mov ecx, dword [ebx + 0x694]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
inc dword [ebx + 0x7b4]
mov ecx, esi
call fcn.0044dd70
test eax, eax
jne 0x420b48
push 0xffffffffffffffff
push 0x58d684
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x43c], 4
mov dword [ebp - 0x438], 0x93
call fcn.00453f90
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x36
call fcn.00453f90
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x37
call fcn.00406560
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x38
call fcn.00406560
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x39
mov ecx, esi
call fcn.004250f0
push eax
push 0
lea eax, [ebp - 0x28c]
mov ecx, edi
push eax
call fcn.00425080
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
jb 0x4209a0
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.00453f90
mov eax, dword [ebp - 0x278]
cmp eax, 8
jb 0x4209cc
inc eax
lea ecx, [ebp - 0x28c]
push eax
push dword [ebp - 0x28c]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x27c], 0
cmp eax, 8
jb 0x420a07
inc eax
lea ecx, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2a4]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x294], 0
cmp eax, 8
jb 0x420a39
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
push 0x58f760
push 0x58f818
mov ecx, ebx
mov byte [ebp - 4], 0x3b
call fcn.00494430
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00453bd0
add esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x32c]
call fcn.004540b0
lea ecx, [ebp - 0x3b0]
call fcn.004540b0
lea ecx, [ebp - 0x434]
call fcn.004540b0
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00453f90
push 0xffffffffffffffff
push 0x58d684
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x3c
call fcn.00453f90
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x3d
call fcn.0045a620
mov dword [ebp - 0xf0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0xec], eax
movq qword [ebp - 0x274], xmm0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
push 1
push 0
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 0x3e
push eax
lea ecx, [ebx + 0x2c]
call fcn.0045df00
lea ecx, [ebp - 0x174]
call fcn.004540b0
lea ecx, [ebp - 0x1f8]
call fcn.004540b0
xor bl, bl
jmp 0x421098
xorps xmm0, xmm0
mov dword [ebp - 0xd8], vtable.Utils::HardDiskManager.0
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x3f
push eax
push esi
call fcn.005317a7
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xd8]
push eax
call fcn.00452a60
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
call fcn.0050ab10
xor edx, edx
movsd qword [ebp - 0x274], xmm0
mov ecx, 0x40000000
call fcn.0050ab10
movsd xmm1, qword [ebp - 0x274]
lea ecx, [ebp - 0x90]
divsd xmm1, xmm0
push 0x58d684
movsd qword [ebp - 0x274], xmm1
call fcn.00406560
mov byte [ebp - 4], 0x40
movsd xmm0, qword [0x592588]
comisd xmm0, xmmword [ebp - 0x274]
jbe 0x420df9
lea ecx, [ebp - 0x30]
call fcn.00451050
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x41
call fcn.00407190
mov byte [ebp - 4], 0x40
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x420c33
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406f30
push 0xffffffffffffffff
push 0x58d684
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x43c], 4
mov dword [ebp - 0x438], 0x93
call fcn.00453f90
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x49
call fcn.00453f90
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x4a
call fcn.00406560
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x4b
call fcn.00406560
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x4c
mov ecx, esi
call fcn.004250f0
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00425080
mov byte [ebp - 4], 0x4d
cmp dword [eax + 0x14], 8
jb 0x420cc5
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.00453f90
lea ecx, [ebp - 0xa8]
call fcn.00406520
lea ecx, [ebp - 0x30]
call fcn.00406520
lea ecx, [ebp - 0x2a4]
call fcn.00406520
mov byte [ebp - 4], 0x4e
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x7c], 8
mov ecx, ebx
push 0x58f760
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.00494430
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00453bd0
add esp, 8
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x32c]
call fcn.004540b0
lea ecx, [ebp - 0x3b0]
call fcn.004540b0
lea ecx, [ebp - 0x434]
call fcn.004540b0
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00453f90
push 0xffffffffffffffff
push 0x58d684
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x4f
call fcn.00453f90
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x50
call fcn.0045a620
mov dword [ebp - 0xf0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0xec], eax
movq qword [ebp - 0x274], xmm0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
push 1
push 0
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 0x51
push eax
lea ecx, [ebx + 0x2c]
call fcn.0045df00
lea ecx, [ebp - 0x174]
call fcn.004540b0
lea ecx, [ebp - 0x1f8]
call fcn.004540b0
xor bl, bl
jmp 0x42105c
push esi
lea ecx, [ebx + 0x728]
call fcn.00409590
xor ecx, ecx
mov dword [ebp - 0x4c], 7
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x740]
mov word [ebp - 0x60], cx
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
call fcn.004068d0
push esi
mov ecx, ebx
mov byte [ebp - 4], 0x52
call fcn.004235d0
test eax, eax
je 0x420e48
push 0x58d684
lea ecx, [ebp - 0x60]
call fcn.00409590
sub esp, 0x18
mov ecx, ebx
push esp
call fcn.00424c30
cmp dword [ebp - 0x4c], 8
lea edi, [ebp - 0x60]
lea edx, [ebx + 0x758]
cmovae edi, dword [ebp - 0x60]
cmp dword [edx + 0x14], 8
jb 0x420e6c
mov edx, dword [edx]
movzx eax, byte [ebx + 0x7ba]
mov ecx, 0x5b0a78
cmp dword [0x5b0a8c], 8
push eax
movzx eax, byte [ebx + 0x7b9]
cmovae ecx, dword [0x5b0a78]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push edi
push edx
push ecx
mov ecx, dword [ebx + 0x794]
call fcn.00418210
cmp byte [0x5b0a94], 0
je 0x420f87
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], vtable.std::_Func_impl_class__lambda_eb26f2e4cde5cb0fbdb22c12ef669cb3___class_std::allocator_int___unsigned_long_int__void__.0
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x53
mov ecx, dword [ebx + 0x7a0]
test ecx, ecx
je 0x420ef6
cmp dword [ecx + 4], 0
je 0x420ee6
call fcn.0044efe0
mov ecx, dword [ebx + 0x7a0]
test ecx, ecx
je 0x420ef6
push ecx
call fcn.00409e60
push 0x50
call fcn.00509fa2
mov edi, eax
mov dword [ebp - 0x2a8], edi
push 0x50
push 0
push edi
call fcn.004b5140
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x270], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x55
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x420f37
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push str.ABDEF
push ebx
mov ecx, edi
mov byte [ebp - 4], 0x54
call fcn.0044ecd0
mov dword [ebx + 0x7a0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x420f5c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 4], 0x56
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x421031
mov edx, dword [ecx]
lea eax, [ebp - 0xb8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x421031
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00453f90
push 0xffffffffffffffff
push 0x58d684
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x57
call fcn.00453f90
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x58
call fcn.0045a620
mov dword [ebp - 0xf0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0xec], eax
movq qword [ebp - 0x274], xmm0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xdc], 0
push 1
push 1
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 0x59
push eax
lea ecx, [ebx + 0x2c]
call fcn.0045df00
lea ecx, [ebp - 0x174]
call fcn.004540b0
lea ecx, [ebp - 0x1f8]
call fcn.004540b0
mov eax, dword [ebp - 0x4c]
mov bl, 1
cmp eax, 8
jb 0x421048
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x421077
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
mov dword [ebp - 0xd8], vtable.Utils::HardDiskManager.0
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x4210ad
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x4210d6
inc ecx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
call fcn.00406f30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00509f60
mov esp, ebp
pop ebp
ret 0xc