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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fea7
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.GaituyaPhotoEditor
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004122f0
push str._un_asa.exe
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.00418520
add esp, 8
mov edi, eax
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x4200c0
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x4200a3
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 0x4200de
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 0x420113
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.00416ba0
test eax, eax
je 0x42027f
cmp byte [0x5b0ac0], 0
jne 0x42027f
push 0x58f744
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.00453be0
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
call fcn.00453be0
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.00424c10
push eax
push 0
lea eax, [ebp - 0x2a4]
mov ecx, edi
push eax
call fcn.00424ba0
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x4201de
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.00453be0
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 0x58f77c
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00494000
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00453820
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.00453d00
lea ecx, [ebp - 0x1e0]
call fcn.00453d00
lea ecx, [ebp - 0x264]
call fcn.00453d00
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00406470
cmp byte [ebx + 0x7b8], 0
je 0x420278
push 1
mov ecx, ebx
call fcn.0046a570
xor bl, bl
jmp 0x420be1
push 0x16
xor eax, eax
mov dword [ebp - 0x64], 7
push 0x58e888
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.00416ba0
test eax, eax
je 0x420409
cmp byte [0x5b0ac0], 0
jne 0x420409
push 0x58f744
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.00453be0
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x28
call fcn.00453be0
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.00424c10
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00424ba0
mov byte [ebp - 4], 0x2c
cmp dword [eax + 0x14], 8
jb 0x420371
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x15c]
call fcn.00453be0
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 0x58f77c
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00494000
lea edx, [ebp - 0x26c]
mov ecx, eax
call fcn.00453820
add esp, 8
lea ecx, [ebp - 0x15c]
call fcn.00453d00
lea ecx, [ebp - 0x1e0]
call fcn.00453d00
lea ecx, [ebp - 0x264]
call fcn.00453d00
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x18
call fcn.00406470
push 1
mov ecx, ebx
call fcn.0046a570
xor bl, bl
jmp 0x420bb8
mov ecx, dword [ebx + 0x694]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
inc dword [ebx + 0x7b4]
mov ecx, esi
call fcn.0044d9c0
test eax, eax
jne 0x420668
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x43c], 4
mov dword [ebp - 0x438], 0x93
call fcn.00453be0
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x36
call fcn.00453be0
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.00424c10
push eax
push 0
lea eax, [ebp - 0x28c]
mov ecx, edi
push eax
call fcn.00424ba0
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
jb 0x4204c0
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.00453be0
mov eax, dword [ebp - 0x278]
cmp eax, 8
jb 0x4204ec
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 0x420527
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 0x420559
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 0x58f77c
push 0x58f818
mov ecx, ebx
mov byte [ebp - 4], 0x3b
call fcn.00494000
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00453820
add esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x32c]
call fcn.00453d00
lea ecx, [ebp - 0x3b0]
call fcn.00453d00
lea ecx, [ebp - 0x434]
call fcn.00453d00
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00453be0
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x3c
call fcn.00453be0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x3d
call fcn.0045a240
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.0045db20
lea ecx, [ebp - 0x174]
call fcn.00453d00
lea ecx, [ebp - 0x1f8]
call fcn.00453d00
xor bl, bl
jmp 0x420bb8
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.00531357
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xd8]
push eax
call fcn.004526c0
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
call fcn.0050a720
xor edx, edx
movsd qword [ebp - 0x274], xmm0
mov ecx, 0x40000000
call fcn.0050a720
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 [0x592590]
comisd xmm0, xmmword [ebp - 0x274]
jbe 0x420919
lea ecx, [ebp - 0x30]
call fcn.00450ca0
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 0x420753
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.00453be0
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x49
call fcn.00453be0
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.00424c10
push eax
push 0
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00424ba0
mov byte [ebp - 4], 0x4d
cmp dword [eax + 0x14], 8
jb 0x4207e5
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x32c]
call fcn.00453be0
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 0x58f77c
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.00494000
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.00453820
add esp, 8
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x32c]
call fcn.00453d00
lea ecx, [ebp - 0x3b0]
call fcn.00453d00
lea ecx, [ebp - 0x434]
call fcn.00453d00
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00453be0
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x4f
call fcn.00453be0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x50
call fcn.0045a240
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.0045db20
lea ecx, [ebp - 0x174]
call fcn.00453d00
lea ecx, [ebp - 0x1f8]
call fcn.00453d00
xor bl, bl
jmp 0x420b7c
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.004230f0
test eax, eax
je 0x420968
push 0x58d674
lea ecx, [ebp - 0x60]
call fcn.004094e0
sub esp, 0x18
mov ecx, ebx
push esp
call fcn.00424750
cmp dword [ebp - 0x4c], 8
lea edi, [ebp - 0x60]
lea edx, [ebx + 0x758]
cmovae edi, dword [ebp - 0x60]
cmp dword [edx + 0x14], 8
jb 0x42098c
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.004180a0
cmp byte [0x5b0a94], 0
je 0x420aa7
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 0x420a16
cmp dword [ecx + 4], 0
je 0x420a06
call fcn.0044ec30
mov ecx, dword [ebx + 0x7a0]
test ecx, ecx
je 0x420a16
push ecx
call fcn.00409db0
push 0x50
call fcn.00509bc6
mov edi, eax
mov dword [ebp - 0x2a8], edi
push 0x50
push 0
push edi
call fcn.004b4d60
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 0x420a57
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.0044e920
mov dword [ebx + 0x7a0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x420a7c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 4], 0x56
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x420b51
mov edx, dword [ecx]
lea eax, [ebp - 0xb8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x420b51
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x1f8]
call fcn.00453be0
push 0xffffffffffffffff
push 0x58d674
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x57
call fcn.00453be0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 0x58
call fcn.0045a240
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.0045db20
lea ecx, [ebp - 0x174]
call fcn.00453d00
lea ecx, [ebp - 0x1f8]
call fcn.00453d00
mov eax, dword [ebp - 0x4c]
mov bl, 1
cmp eax, 8
jb 0x420b68
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 0x420b97
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 0x420bcd
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 0x420bf6
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.00509b84
mov esp, ebp
pop ebp
ret 0xc