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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ef67
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5a9464]
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 0x58c674
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00406770
push str.aicreator
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004118a0
push str._un_asa.exe
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.004177b0
add esp, 8
mov edi, eax
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x41f360
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x41f343
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406ed0
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.004096f0
mov eax, dword [ebp - 0x278]
cmp eax, 8
jb 0x41f37e
inc eax
lea ecx, [ebp - 0x28c]
push eax
push dword [ebp - 0x28c]
call fcn.00406ed0
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 0x41f3b3
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406ed0
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
call fcn.00415e40
test eax, eax
je 0x41f51f
cmp byte [0x5afad8], 0
jne 0x41f51f
push 0x58e6dc
lea ecx, [ebp - 0x30]
call fcn.00406500
push 0xffffffffffffffff
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x264]
push 0x58c674
mov dword [ebp - 0x26c], 4
mov dword [ebp - 0x268], 0x93
call fcn.00452e10
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
call fcn.00452e10
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x13
call fcn.00406500
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x14
call fcn.00406500
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x15
mov ecx, esi
call fcn.00423eb0
push eax
push 0
lea eax, [ebp - 0x2a4]
mov ecx, edi
push eax
call fcn.00423e40
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x41f47e
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.00452e10
lea ecx, [ebp - 0x2a4]
call fcn.004064c0
lea ecx, [ebp - 0x28c]
call fcn.004064c0
lea ecx, [ebp - 0xa8]
call fcn.004064c0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov ecx, ebx
push 0x58e718
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00469700
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00452a50
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.00452f30
lea ecx, [ebp - 0x1e0]
call fcn.00452f30
lea ecx, [ebp - 0x264]
call fcn.00452f30
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.004064c0
cmp byte [ebx + 0x7b8], 0
je 0x41f518
push 1
mov ecx, ebx
call fcn.00469850
xor bl, bl
jmp 0x41fe81
push 0xd
xor eax, eax
mov dword [ebp - 0x64], 7
push 0x58d858
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
call fcn.00406770
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
cmovae ecx, dword [ebp - 0x78]
call fcn.00415e40
test eax, eax
je 0x41f6a9
cmp byte [0x5afad8], 0
jne 0x41f6a9
push 0x58e6dc
lea ecx, [ebp - 0x30]
call fcn.00406500
push 0xffffffffffffffff
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x264]
push 0x58c674
mov dword [ebp - 0x26c], 4
mov dword [ebp - 0x268], 0x93
call fcn.00452e10
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x28
call fcn.00452e10
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x29
call fcn.00406500
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x2a
call fcn.00406500
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x2b
mov ecx, esi
call fcn.00423eb0
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00423e40
mov byte [ebp - 4], 0x2c
cmp dword [eax + 0x14], 8
jb 0x41f611
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.00452e10
lea ecx, [ebp - 0xa8]
call fcn.004064c0
lea ecx, [ebp - 0x2a4]
call fcn.004064c0
lea ecx, [ebp - 0x28c]
call fcn.004064c0
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov ecx, ebx
push 0x58e718
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00469700
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00452a50
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.00452f30
lea ecx, [ebp - 0x1e0]
call fcn.00452f30
lea ecx, [ebp - 0x264]
call fcn.00452f30
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x18
call fcn.004064c0
push 1
mov ecx, ebx
call fcn.00469850
xor bl, bl
jmp 0x41fe58
mov ecx, dword [ebx + 0x694]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
inc dword [ebx + 0x7b4]
mov ecx, esi
call fcn.0044cc00
test eax, eax
jne 0x41f908
push 0xffffffffffffffff
push 0x58c674
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x43c], 4
mov dword [ebp - 0x438], 0x93
call fcn.00452e10
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x36
call fcn.00452e10
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x37
call fcn.00406500
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x38
call fcn.00406500
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x39
mov ecx, esi
call fcn.00423eb0
push eax
push 0
lea eax, [ebp - 0x28c]
mov ecx, edi
push eax
call fcn.00423e40
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
jb 0x41f760
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.00452e10
mov eax, dword [ebp - 0x278]
cmp eax, 8
jb 0x41f78c
inc eax
lea ecx, [ebp - 0x28c]
push eax
push dword [ebp - 0x28c]
call fcn.00406ed0
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 0x41f7c7
inc eax
lea ecx, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2a4]
call fcn.00406ed0
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 0x41f7f9
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406ed0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
push 0x58e718
push 0x58e7b4
mov ecx, ebx
mov byte [ebp - 4], 0x3b
call fcn.00469700
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00452a50
add esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x32c]
call fcn.00452f30
lea ecx, [ebp - 0x3b0]
call fcn.00452f30
lea ecx, [ebp - 0x434]
call fcn.00452f30
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00452e10
push 0xffffffffffffffff
push 0x58c674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x3c
call fcn.00452e10
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x3d
call fcn.004594f0
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.0045cdd0
lea ecx, [ebp - 0x174]
call fcn.00452f30
lea ecx, [ebp - 0x1f8]
call fcn.00452f30
xor bl, bl
jmp 0x41fe58
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.00530546
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xd8]
push eax
call fcn.004518f0
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
call fcn.00509920
xor edx, edx
movsd qword [ebp - 0x274], xmm0
mov ecx, 0x40000000
call fcn.00509920
movsd xmm1, qword [ebp - 0x274]
lea ecx, [ebp - 0x90]
divsd xmm1, xmm0
push 0x58c674
movsd qword [ebp - 0x274], xmm1
call fcn.00406500
mov byte [ebp - 4], 0x40
movsd xmm0, qword [0x5914b0]
comisd xmm0, xmmword [ebp - 0x274]
jbe 0x41fbb9
lea ecx, [ebp - 0x30]
call fcn.0044fee0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x41
call fcn.00407130
mov byte [ebp - 4], 0x40
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x41f9f3
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406ed0
push 0xffffffffffffffff
push 0x58c674
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x43c], 4
mov dword [ebp - 0x438], 0x93
call fcn.00452e10
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x49
call fcn.00452e10
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x4a
call fcn.00406500
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x4b
call fcn.00406500
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x4c
mov ecx, esi
call fcn.00423eb0
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00423e40
mov byte [ebp - 4], 0x4d
cmp dword [eax + 0x14], 8
jb 0x41fa85
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.00452e10
lea ecx, [ebp - 0xa8]
call fcn.004064c0
lea ecx, [ebp - 0x30]
call fcn.004064c0
lea ecx, [ebp - 0x2a4]
call fcn.004064c0
mov byte [ebp - 4], 0x4e
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x7c], 8
mov ecx, ebx
push 0x58e718
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.00469700
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00452a50
add esp, 8
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x32c]
call fcn.00452f30
lea ecx, [ebp - 0x3b0]
call fcn.00452f30
lea ecx, [ebp - 0x434]
call fcn.00452f30
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00452e10
push 0xffffffffffffffff
push 0x58c674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x4f
call fcn.00452e10
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x50
call fcn.004594f0
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.0045cdd0
lea ecx, [ebp - 0x174]
call fcn.00452f30
lea ecx, [ebp - 0x1f8]
call fcn.00452f30
xor bl, bl
jmp 0x41fe1c
push esi
lea ecx, [ebx + 0x728]
call fcn.00409530
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.00406870
push esi
mov ecx, ebx
mov byte [ebp - 4], 0x52
call fcn.00422390
test eax, eax
je 0x41fc08
push 0x58c674
lea ecx, [ebp - 0x60]
call fcn.00409530
sub esp, 0x18
mov ecx, ebx
push esp
call fcn.004239f0
cmp dword [ebp - 0x4c], 8
lea edi, [ebp - 0x60]
lea edx, [ebx + 0x758]
cmovae edi, dword [ebp - 0x60]
cmp dword [edx + 0x14], 8
jb 0x41fc2c
mov edx, dword [edx]
movzx eax, byte [ebx + 0x7ba]
mov ecx, 0x5afa90
cmp dword [0x5afaa4], 8
push eax
movzx eax, byte [ebx + 0x7b9]
cmovae ecx, dword [0x5afa90]
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.00417330
cmp byte [0x5afaac], 0
je 0x41fd47
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 0x41fcb6
cmp dword [ecx + 4], 0
je 0x41fca6
call fcn.0044de70
mov ecx, dword [ebx + 0x7a0]
test ecx, ecx
je 0x41fcb6
push ecx
call fcn.00409e00
push 0x50
call fcn.00508dc6
mov edi, eax
mov dword [ebp - 0x2a8], edi
push 0x50
push 0
push edi
call fcn.004b3fe0
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 0x41fcf7
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.0044db60
mov dword [ebx + 0x7a0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x41fd1c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 4], 0x56
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x41fdf1
mov edx, dword [ecx]
lea eax, [ebp - 0xb8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x41fdf1
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00452e10
push 0xffffffffffffffff
push 0x58c674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x57
call fcn.00452e10
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x58
call fcn.004594f0
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.0045cdd0
lea ecx, [ebp - 0x174]
call fcn.00452f30
lea ecx, [ebp - 0x1f8]
call fcn.00452f30
mov eax, dword [ebp - 0x4c]
mov bl, 1
cmp eax, 8
jb 0x41fe08
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00406ed0
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 0x41fe37
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00406ed0
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 0x41fe6d
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406ed0
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 0x41fe96
inc ecx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
call fcn.00406ed0
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.00508d84
mov esp, ebp
pop ebp
ret 0xc