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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5153a7
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x575054]
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 dword [ebp - 0x2e8], 0
cmp byte [ebx + 0x112], 0
jne 0x42f919
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push 3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0x538f64
cmp byte [ebx + 0x154], al
je 0x42ee38
call fcn.004033d0
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push 0xf
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.00403370
jmp 0x42ee67
call fcn.004033d0
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 5
push 9
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 6
call fcn.00403370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x24]
push 0x3ea
mov byte [ebx + 0x144], 1
mov byte [ebx + 0x21c], 1
call dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIWindow::KillWindowTimer_unsigned_int_]
mov byte [ebp - 0x2c9], 0
mov dword [ebp - 0x2ec], 1
call fcn.00403630
mov edi, eax
call fcn.0040c0e0
add eax, 0x30
lea ecx, [ebp - 0x58]
push eax
call fcn.00405990
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xa
call fcn.00405910
mov edx, str.12SB34
mov ecx, eax
call fcn.004b8c40
test al, al
jne 0x42ef08
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
cmp dword [ebp - 0x48], 1
jne 0x42f089
mov ecx, 0x531df8
mov edx, 1
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x42f089
add ecx, 2
sub edx, 1
jne 0x42eef3
lea esi, [edi + 0x20]
mov byte [ebp - 0x2c9], 1
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x648]
mov al, byte [ebp - 0x648]
mov byte [ebp - 0x18], al
mov byte [ebp - 4], 0xa
call fcn.0040d390
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov dword [ebp - 0x2e8], 0x1c
mov byte [ebp - 4], 0xc
cmp byte [ebp - 0x647], 0
mov dword [ebp - 0x2e8], 0x1d
je 0x42ef74
cmp byte [ebx + 0x134], 0
mov byte [ebp - 0x17], 1
jne 0x42ef78
mov byte [ebp - 0x17], 0
lea ecx, [ebp - 0x648]
mov dword [ebp - 4], 0xa
call fcn.0040d390
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x640]
or eax, dword [ebp - 0x63c]
mov byte [ebp - 0x16], 1
jne 0x42efb0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 0xa
call fcn.0040d390
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x638]
or eax, dword [ebp - 0x634]
mov byte [ebp - 0x15], 1
jne 0x42efe5
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 0xa
call fcn.0040d390
mov eax, dword [0x5789d0]
test al, 1
jne 0x42f023
or eax, 1
mov dword [0x5789d0], eax
mov byte [ebp - 4], 0xf
call fcn.00414120
push 0x52eff0
mov byte [ebp - 4], 0xf
call fcn.0050f637
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x150]
mov ecx, 0x5789d8
push eax
call fcn.00415220
push 0x578acc
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x11
call fcn.00415380
mov byte [ebp - 4], 0x12
cmp byte [0x578c46], 0
je 0x42f205
cmp dword [ebp - 0x14c], 1
jne 0x42f205
cmp byte [ebx + 0x147], 0
jne 0x42f205
cmp byte [ebx + 0x148], 0
jne 0x42f205
mov byte [ebp - 0x14], 1
jmp 0x42f212
lea esi, [edi + 0x20]
mov dword [ebp - 0x2ec], 2
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x648]
mov al, byte [ebp - 0x5b0]
mov byte [ebp - 0x18], al
mov byte [ebp - 4], 0xa
call fcn.0040d390
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov dword [ebp - 0x2e8], 0x304
mov byte [ebp - 4], 0x14
cmp byte [ebp - 0x5af], 0
mov dword [ebp - 0x2e8], 0x306
je 0x42f0f8
cmp byte [ebx + 0x134], 0
mov byte [ebp - 0x17], 1
jne 0x42f0fc
mov byte [ebp - 0x17], 0
lea ecx, [ebp - 0x648]
mov dword [ebp - 4], 0xa
call fcn.0040d390
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x5a8]
or eax, dword [ebp - 0x5a4]
mov byte [ebp - 0x16], 1
jne 0x42f134
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 0xa
call fcn.0040d390
push esi
lea ecx, [ebp - 0x648]
call fcn.0040d940
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x5a0]
or eax, dword [ebp - 0x59c]
mov byte [ebp - 0x15], 1
jne 0x42f169
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 0xa
call fcn.0040d390
call fcn.00408ca0
mov esi, eax
lea eax, [ebp - 0x150]
push eax
mov ecx, esi
call fcn.00415220
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x17
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.00415380
mov byte [ebp - 4], 0x18
cmp byte [esi + 0x26e], 0
je 0x42f1da
cmp dword [ebp - 0x14c], 1
jne 0x42f1da
cmp byte [ebx + 0x147], 0
jne 0x42f1da
cmp byte [ebx + 0x148], 0
jne 0x42f1da
cmp byte [ebx + 0x154], 0
jne 0x42f1da
mov byte [ebp - 0x14], 1
jmp 0x42f1e7
cmp byte [ebx + 0x148], 0
mov byte [ebp - 0x14], 0
jne 0x42f1fb
mov eax, dword [ebx + 0x1d4]
mov byte [ebp - 0x13], 1
mov al, byte [eax + 0xf4]
test al, al
jne 0x42f1ff
mov byte [ebp - 0x13], 0
mov byte [ebp - 4], 0x17
jmp 0x42f22e
cmp byte [ebx + 0x148], 0
mov byte [ebp - 0x14], 0
jne 0x42f226
mov eax, dword [ebx + 0x1d4]
mov byte [ebp - 0x13], 1
mov al, byte [eax + 0xf4]
test al, al
jne 0x42f22a
mov byte [ebp - 0x13], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c8]
call fcn.00407a70
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xa
call fcn.004143e0
mov edx, dword [ebp - 0x2ec]
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00449220
add esp, 4
mov byte [ebx + 0x144], 0
cmp byte [ebx + 0x135], 0
mov esi, eax
mov byte [ebx + 0x21c], 0
je 0x42f29f
cmp dword [ebx + 0x1f8], 4
je 0x42f29f
push 0x3ea
lea ecx, [ebx + 0x24]
call dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIWindow::KillWindowTimer_unsigned_int_]
push 0x3e8
push 0x3ea
lea ecx, [ebx + 0x24]
call dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIWindow::SetWindowTimer_unsigned_int__unsigned_int_]
test esi, esi
je 0x42f903
cmp esi, 0x271c
jne 0x42f3df
cmp byte [ebx + 0x154], 0
lea ecx, [ebp - 0x40]
push 0x538fb4
je 0x42f2ef
call fcn.004032f0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1d
push 0xc
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1e
call fcn.00403370
jmp 0x42f318
call fcn.004032f0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x22
push 6
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x23
call fcn.00403370
push str.__typeactive___activeidbootassist
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xa
call fcn.004032f0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.2345Setting.exe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004033d0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x40]
push 0x24
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push str.5016EA0A_1245_4D65_A4D2_F2DCF7BDD92D
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004033d0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x29
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004b3fe0
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2a
call fcn.00403370
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x2e
call fcn.00403370
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x32
call fcn.00403370
mov byte [ebp - 4], 0xa
jmp 0x42f903
cmp esi, 0x271e
jne 0x42f56d
cmp byte [ebx + 0x154], 0
lea ecx, [ebp - 0x2e4]
push 0x538fb4
je 0x42f430
call fcn.004032f0
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x36
push 0xa
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x37
call fcn.00403370
jmp 0x42f45f
call fcn.004032f0
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x3b
push 4
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x3c
call fcn.00403370
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x16], 0
je 0x42f479
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x42f484
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
cmp byte [ebp - 0x2c9], 0
je 0x42f495
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], edx
jmp 0x42f4a1
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], edx
push 0x3ea
lea ecx, [ebx + 0x24]
call dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIWindow::KillWindowTimer_unsigned_int_]
push 0x538f54
lea ecx, [ebp - 0x2e4]
call fcn.004032f0
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x40
push 4
push eax
call fcn.004291b0
mov ecx, eax
call fcn.00429680
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x41
call fcn.00403370
push 0x538f5c
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xa
call fcn.004032f0
mov byte [ebp - 4], 0x45
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0xa8]
mul ecx
push 0
shr edx, 6
lea eax, [ebp - 0x2e4]
push edx
push eax
call fcn.004291b0
mov ecx, eax
call fcn.00429680
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x46
call fcn.00403370
mov byte [ebp - 4], 0xa
mov eax, dword [ebx + 0x1f8]
cmp eax, 5
jne 0x42f71f
lea eax, [ebp - 0x150]
push eax
call fcn.00408ca0
mov ecx, eax
call fcn.00415220
mov byte [ebp - 4], 0x4a
jmp 0x42f6f2
cmp esi, 0x271f
jne 0x42f73c
cmp byte [ebx + 0x154], 0
lea ecx, [ebp - 0x2e4]
push 0x538fb4
je 0x42f5be
call fcn.004032f0
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x4b
push 0xb
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x4c
call fcn.00403370
jmp 0x42f5ed
call fcn.004032f0
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x50
push 5
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x51
call fcn.00403370
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x15], 0
je 0x42f607
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x42f612
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
cmp byte [ebp - 0x2c9], 0
je 0x42f623
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
jmp 0x42f62f
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], edx
push 0x3ea
lea ecx, [ebx + 0x24]
call dword [sym.imp.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIWindow::KillWindowTimer_unsigned_int_]
push 0x538f54
lea ecx, [ebp - 0x2e4]
call fcn.004032f0
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x55
push 5
push eax
call fcn.004291b0
mov ecx, eax
call fcn.00429680
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x56
call fcn.00403370
push 0x538f5c
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xa
call fcn.004032f0
mov byte [ebp - 4], 0x5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0xa8]
mul ecx
push 0
shr edx, 6
lea eax, [ebp - 0x2e4]
push edx
push eax
call fcn.004291b0
mov ecx, eax
call fcn.00429680
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x5b
call fcn.00403370
mov byte [ebp - 4], 0xa
mov eax, dword [ebx + 0x1f8]
cmp eax, 5
jne 0x42f71f
lea eax, [ebp - 0x150]
push eax
call fcn.00408ca0
mov ecx, eax
call fcn.00415220
mov byte [ebp - 4], 0x5f
mov esi, dword [eax + 0x14]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xa
call fcn.004143e0
push 0
push esi
call fcn.00403630
mov ecx, eax
call fcn.0040e1b0
mov ecx, ebx
call fcn.00434120
jmp 0x42f903
cmp eax, 6
jne 0x42f730
call fcn.00438f00
mov ecx, eax
call fcn.0040b8c0
mov ecx, ebx
call fcn.00434120
jmp 0x42f903
cmp esi, 0x2720
jne 0x42f903
xor esi, esi
lea ecx, [ebp - 0x2e4]
xor edi, edi
cmp byte [ebx + 0x154], 0
push 0x538fb4
je 0x42f7e9
call fcn.004032f0
push edi
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x60
push 7
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x61
call fcn.00403370
push 0x4e3e
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 0xa
call dword [sym.imp.2345MiniUI.dll_public:_class_RC::RCMiniUIView____thiscall_RC::RCMiniUIDialogView::GetViewByID_int_const]
test eax, eax
je 0x42f88d
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call dword [sym.imp.2345MiniUI.dll_public:_struct_tagRECT___thiscall_RC::RCMiniUIView::GetBounds_void_]
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
cdq
add ecx, 0xffffffa1
sub eax, edx
mov dl, 1
sar eax, 1
add ecx, eax
call fcn.004b42a0
mov ecx, dword [ebp - 0x14]
add ecx, 5
jmp 0x42f866
call fcn.004032f0
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x65
push 1
push eax
call fcn.004291b0
mov ecx, eax
call fcn.004296a0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x66
call fcn.00403370
push 0x4ef3
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 0xa
call dword [sym.imp.2345MiniUI.dll_public:_class_RC::RCMiniUIView____thiscall_RC::RCMiniUIDialogView::GetViewByID_int_const]
test eax, eax
je 0x42f88d
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call dword [sym.imp.2345MiniUI.dll_public:_struct_tagRECT___thiscall_RC::RCMiniUIView::GetBounds_void_]
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
cdq
add ecx, 0xffffffa1
sub eax, edx
mov dl, 1
sar eax, 1
add ecx, eax
call fcn.004b42a0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
mov dl, 1
mov esi, eax
call fcn.004b42a0
mov ecx, dword [ebp - 0x38]
xor dl, dl
add ecx, esi
mov edi, eax
call fcn.004b42a0
mov ecx, dword [ebp - 0x34]
xor dl, dl
add ecx, edi
mov esi, eax
call fcn.004b42a0
mov edi, eax
push 0xa0
lea eax, [ebp - 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x100]
push edi
push esi
call fcn.0043fb70
mov byte [ebp - 4], 0x6a
push 0
mov byte [ebx + 0x21c], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x100]
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_RC::RCMiniUIDialog::DoModal_struct_HWND_____long_int_]
cmp eax, 1
jne 0x42f8ed
cmp dword [ebp - 0x84], eax
jne 0x42f8ed
mov ecx, ebx
mov byte [ebx + 0x21c], 0
call fcn.00436b80
jmp 0x42f8f4
mov byte [ebx + 0x21c], 0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
call fcn.0043fc80
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0x6b
call fcn.00403370
mov dword [ebp - 4], 0xffffffff
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.0050f27d
mov esp, ebp
pop ebp
ret