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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f737
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 0x58d674
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00406720
push str.MattingAssistant
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00417e90
push str._un_asa.exe
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.00417e20
add esp, 8
mov edi, eax
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x41fa90
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x41fa73
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406e80
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.004096a0
mov eax, dword [ebp - 0x278]
cmp eax, 8
jb 0x41faae
inc eax
lea ecx, [ebp - 0x28c]
push eax
push dword [ebp - 0x28c]
call fcn.00406e80
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 0x41fae3
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406e80
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
call fcn.004164b0
test eax, eax
je 0x41fc4f
cmp byte [0x5b0ac0], 0
jne 0x41fc4f
push 0x58f830
lea ecx, [ebp - 0x30]
call fcn.004064b0
push 0xffffffffffffffff
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x264]
push 0x58d674
mov dword [ebp - 0x26c], 4
mov dword [ebp - 0x268], 0x93
call fcn.004534e0
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
call fcn.004534e0
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x13
call fcn.004064b0
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x14
call fcn.004064b0
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x15
mov ecx, esi
call fcn.004245e0
push eax
push 0
lea eax, [ebp - 0x2a4]
mov ecx, edi
push eax
call fcn.00424570
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x41fbae
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.004534e0
lea ecx, [ebp - 0x2a4]
call fcn.00406470
lea ecx, [ebp - 0x28c]
call fcn.00406470
lea ecx, [ebp - 0xa8]
call fcn.00406470
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov ecx, ebx
push 0x58f86c
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004939a0
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00453120
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.00453600
lea ecx, [ebp - 0x1e0]
call fcn.00453600
lea ecx, [ebp - 0x264]
call fcn.00453600
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00406470
cmp byte [ebx + 0x7b8], 0
je 0x41fc48
push 1
mov ecx, ebx
call fcn.00469f10
xor bl, bl
jmp 0x4205b1
push 0x14
xor eax, eax
mov dword [ebp - 0x64], 7
push 0x58e978
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
call fcn.00406720
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
cmovae ecx, dword [ebp - 0x78]
call fcn.004164b0
test eax, eax
je 0x41fdd9
cmp byte [0x5b0ac0], 0
jne 0x41fdd9
push 0x58f830
lea ecx, [ebp - 0x30]
call fcn.004064b0
push 0xffffffffffffffff
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x264]
push 0x58d674
mov dword [ebp - 0x26c], 4
mov dword [ebp - 0x268], 0x93
call fcn.004534e0
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x28
call fcn.004534e0
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x29
call fcn.004064b0
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x2a
call fcn.004064b0
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x2b
mov ecx, esi
call fcn.004245e0
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00424570
mov byte [ebp - 4], 0x2c
cmp dword [eax + 0x14], 8
jb 0x41fd41
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.004534e0
lea ecx, [ebp - 0xa8]
call fcn.00406470
lea ecx, [ebp - 0x2a4]
call fcn.00406470
lea ecx, [ebp - 0x28c]
call fcn.00406470
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov ecx, ebx
push 0x58f86c
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004939a0
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00453120
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.00453600
lea ecx, [ebp - 0x1e0]
call fcn.00453600
lea ecx, [ebp - 0x264]
call fcn.00453600
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x18
call fcn.00406470
push 1
mov ecx, ebx
call fcn.00469f10
xor bl, bl
jmp 0x420588
mov ecx, dword [ebx + 0x694]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
inc dword [ebx + 0x7b4]
mov ecx, esi
call fcn.0044d2d0
test eax, eax
jne 0x420038
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x43c], 4
mov dword [ebp - 0x438], 0x93
call fcn.004534e0
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x36
call fcn.004534e0
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x37
call fcn.004064b0
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x38
call fcn.004064b0
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x39
mov ecx, esi
call fcn.004245e0
push eax
push 0
lea eax, [ebp - 0x28c]
mov ecx, edi
push eax
call fcn.00424570
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
jb 0x41fe90
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.004534e0
mov eax, dword [ebp - 0x278]
cmp eax, 8
jb 0x41febc
inc eax
lea ecx, [ebp - 0x28c]
push eax
push dword [ebp - 0x28c]
call fcn.00406e80
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 0x41fef7
inc eax
lea ecx, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2a4]
call fcn.00406e80
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 0x41ff29
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406e80
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
push 0x58f86c
push 0x58f908
mov ecx, ebx
mov byte [ebp - 4], 0x3b
call fcn.004939a0
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00453120
add esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x32c]
call fcn.00453600
lea ecx, [ebp - 0x3b0]
call fcn.00453600
lea ecx, [ebp - 0x434]
call fcn.00453600
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.004534e0
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x3c
call fcn.004534e0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x3d
call fcn.00459be0
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.0045d4c0
lea ecx, [ebp - 0x174]
call fcn.00453600
lea ecx, [ebp - 0x1f8]
call fcn.00453600
xor bl, bl
jmp 0x420588
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.00530c37
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xd8]
push eax
call fcn.00451fc0
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
call fcn.00509fe0
xor edx, edx
movsd qword [ebp - 0x274], xmm0
mov ecx, 0x40000000
call fcn.00509fe0
movsd xmm1, qword [ebp - 0x274]
lea ecx, [ebp - 0x90]
divsd xmm1, xmm0
push 0x58d674
movsd qword [ebp - 0x274], xmm1
call fcn.004064b0
mov byte [ebp - 4], 0x40
movsd xmm0, qword [0x592688]
comisd xmm0, xmmword [ebp - 0x274]
jbe 0x4202e9
lea ecx, [ebp - 0x30]
call fcn.004505b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x41
call fcn.004070e0
mov byte [ebp - 4], 0x40
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x420123
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406e80
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x43c], 4
mov dword [ebp - 0x438], 0x93
call fcn.004534e0
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x49
call fcn.004534e0
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x4a
call fcn.004064b0
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x4b
call fcn.004064b0
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x4c
mov ecx, esi
call fcn.004245e0
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00424570
mov byte [ebp - 4], 0x4d
cmp dword [eax + 0x14], 8
jb 0x4201b5
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.004534e0
lea ecx, [ebp - 0xa8]
call fcn.00406470
lea ecx, [ebp - 0x30]
call fcn.00406470
lea ecx, [ebp - 0x2a4]
call fcn.00406470
mov byte [ebp - 4], 0x4e
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x7c], 8
mov ecx, ebx
push 0x58f86c
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.004939a0
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00453120
add esp, 8
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x32c]
call fcn.00453600
lea ecx, [ebp - 0x3b0]
call fcn.00453600
lea ecx, [ebp - 0x434]
call fcn.00453600
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.004534e0
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x4f
call fcn.004534e0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x50
call fcn.00459be0
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.0045d4c0
lea ecx, [ebp - 0x174]
call fcn.00453600
lea ecx, [ebp - 0x1f8]
call fcn.00453600
xor bl, bl
jmp 0x42054c
push esi
lea ecx, [ebx + 0x728]
call fcn.004094e0
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.00406820
push esi
mov ecx, ebx
mov byte [ebp - 4], 0x52
call fcn.00422ac0
test eax, eax
je 0x420338
push 0x58d674
lea ecx, [ebp - 0x60]
call fcn.004094e0
sub esp, 0x18
mov ecx, ebx
push esp
call fcn.00424120
cmp dword [ebp - 0x4c], 8
lea edi, [ebp - 0x60]
lea edx, [ebx + 0x758]
cmovae edi, dword [ebp - 0x60]
cmp dword [edx + 0x14], 8
jb 0x42035c
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.004179a0
cmp byte [0x5b0a94], 0
je 0x420477
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 0x4203e6
cmp dword [ecx + 4], 0
je 0x4203d6
call fcn.0044e540
mov ecx, dword [ebx + 0x7a0]
test ecx, ecx
je 0x4203e6
push ecx
call fcn.00409db0
push 0x50
call fcn.00509486
mov edi, eax
mov dword [ebp - 0x2a8], edi
push 0x50
push 0
push edi
call fcn.004b4650
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 0x420427
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.0044e230
mov dword [ebx + 0x7a0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x42044c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 4], 0x56
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x420521
mov edx, dword [ecx]
lea eax, [ebp - 0xb8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x420521
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.004534e0
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x57
call fcn.004534e0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x58
call fcn.00459be0
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.0045d4c0
lea ecx, [ebp - 0x174]
call fcn.00453600
lea ecx, [ebp - 0x1f8]
call fcn.00453600
mov eax, dword [ebp - 0x4c]
mov bl, 1
cmp eax, 8
jb 0x420538
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00406e80
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 0x420567
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00406e80
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 0x42059d
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406e80
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 0x4205c6
inc ecx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
call fcn.00406e80
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.00509444
mov esp, ebp
pop ebp
ret 0xc