Function at 0x1042a41
Capabilities:
Check for time delay via gettickcount
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb78
mov eax, dword [0x1079e94]
push ebx
xor ebx, ebx
inc dword [0x1079e00]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
mov dword [ebp - 0xb50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb58], eax
mov eax, dword [ebp + 0x18]
push ebx
push 0x93e
mov dword [ebp - 0xb68], eax
mov dword [ebp - 0xb64], ebx
mov dword [ebp - 0xb4c], ebx
mov dword [ebp - 0xb5c], ebx
mov dword [ebp - 0xb3c], ebx
mov dword [ebp - 0xb28], ebx
mov dword [ebp - 0xb40], ebx
mov dword [ebp - 0xb34], ebx
call fcn.01052a94
push eax
push 0x931
call fcn.01052a94
push eax
push dword [ebp - 0xb50]
mov ecx, esi
call dword [edi + 4]
mov edi, dword [esi]
push 0x7f02
push ebx
mov dword [ebp - 0xb30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [edi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xb20], eax
call edi
mov dword [ebp - 0xb1c], eax
lea eax, [ebp - 0xb4c]
push eax
push dword [ebp - 0xb50]
call fcn.0104177a
test eax, eax
je 0x1043305
cmp dword [ebp - 0xb4c], ebx
je 0x1043305
push dword [ebp - 0xb20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
call edi
sub eax, dword [ebp - 0xb1c]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [esi]
mov ecx, esi
push eax
push dword [ebp - 0xb30]
mov dword [ebp - 0xb44], eax
call dword [edx + 0x10]
mov edi, dword [esi]
push 0x932
call fcn.01052a94
push eax
push dword [ebp - 0xb30]
mov ecx, esi
call dword [edi + 8]
xor eax, eax
lea edi, [ebp - 0xb74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0xb58]
push 0x940
mov dword [ebp - 0xb74], eax
call fcn.01052a94
cmp eax, ebx
mov dword [ebp - 0xb60], eax
jne 0x1042b9d
mov dword [ebp - 0xb60], 0x100d270
push 0x941
call fcn.01052a94
cmp eax, ebx
mov dword [ebp - 0xb54], eax
jne 0x1042bbb
mov dword [ebp - 0xb54], 0x100d25c
push dword [ebp - 0xb60]
mov edi, dword [sym.imp.msvcrt.dll_wcslen]
call edi
push dword [ebp - 0xb54]
mov dword [ebp - 0xb20], eax
call edi
cmp dword [ebp - 0xb20], eax
pop ecx
pop ecx
mov dword [ebp - 0xb78], eax
jae 0x1042bed
mov dword [ebp - 0xb20], eax
mov eax, dword [ebp - 0xb20]
lea eax, [eax + eax + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0xb34], eax
jne 0x1042c1d
push 0x8007000e
push 0x788013f
call fcn.01053610
jmp 0x1043398
push ebx
push dword [ebp - 0xb4c]
mov dword [ebp - 0xb48], ebx
call dword [sym.imp.CRYPT32.dll_CertEnumCRLsInStore]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0xb38], edi
je 0x10432f6
jmp 0x1042c48
mov edi, dword [ebp - 0xb38]
push 0x10059b8
push dword [ebp - 0xb40]
push dword [0x1079e00]
push dword [0x107bb40]
push dword [edi + 8]
push dword [edi + 4]
call fcn.010250ab
inc dword [ebp - 0xb40]
cmp eax, ebx
je 0x1042c7f
push eax
push 0x79e013f
call fcn.01053610
lea eax, [ebp - 0xb6c]
push eax
push edi
call fcn.01058168
cmp eax, ebx
je 0x1042ca9
push eax
push 0x7a1013f
call fcn.01053610
xor eax, eax
cmp dword [ebp + 0x1c], ebx
setne al
mov dword [ebp - 0xb6c], eax
push dword [ebp - 0xb50]
lea eax, [ebp - 0x804]
push dword [ebp - 0xb48]
push dword [ebp + 0x10]
push 0x100d224
push 0x400
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
mov eax, dword [ebp - 0xb54]
add esp, 0x18
cmp dword [ebp - 0xb6c], ebx
mov word [ebp - 6], bx
jne 0x1042cea
mov eax, dword [ebp - 0xb60]
push eax
push dword [ebp - 0xb34]
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push edi
call fcn.0105743b
cmp eax, ebx
je 0x1042d24
mov edi, dword [ebp - 0xb34]
push eax
push 0x100d218
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 0xb44]
mov edi, dword [esi]
push dword [ebp - 0xb34]
push 0x934
call fcn.01052a94
cmp dword [ebp - 0xb48], ebx
push eax
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
jne 0x1042d59
push dword [ebp - 0xb30]
call dword [edi + 0x14]
jmp 0x1042d62
call dword [edi + 4]
mov dword [ebp - 0xb30], eax
mov edi, dword [esi]
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [edi + 0x1c]
push dword [ebp - 0xb38]
mov edi, eax
push ebx
push dword [ebp - 0xb58]
push dword [ebp - 0xb68]
call fcn.0104232c
mov dword [ebp - 0xb1c], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0xb1c]
mov eax, dword [esi]
push dword [ebp - 0xb30]
mov ecx, esi
call dword [eax + 8]
push 0x204
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
cmp edx, ebx
pop ecx
mov dword [ebp - 0xb1c], edx
jne 0x1042dd9
push 0x8007000e
push 0x7da013f
call fcn.01053610
jmp 0x1042e0d
push dword [ebp - 0xb38]
xor eax, eax
mov edi, edx
mov ecx, 0x81
rep stosd dword es:[edi], eax
mov dword [edx], 2
call dword [sym.imp.CRYPT32.dll_CertDuplicateCRLContext]
mov ecx, dword [ebp - 0xb1c]
push ecx
push dword [ebp - 0xb30]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [ebp - 0xb38]
mov dword [ebp - 0xb70], eax
lea eax, [ebp - 0xb1c]
push eax
lea eax, [ebp - 0xb28]
push eax
push 2
lea eax, [ebp - 0xb74]
push eax
push 7
call fcn.01041fd0
cmp eax, ebx
mov dword [ebp - 0xb24], eax
je 0x1042ef0
push eax
push 0x7ef013f
call fcn.01053610
push 0x45
pop ecx
xor eax, eax
lea edi, [ebp - 0xb18]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb18]
push eax
mov dword [ebp - 0xb18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1042e99
cmp dword [ebp - 0xb24], 0x80070002
jne 0x1042e99
cmp dword [ebp - 0xb14], 5
jne 0x1042e99
cmp dword [ebp - 0xb10], ebx
je 0x10432d6
push dword [ebp - 0xb24]
lea eax, [ebp - 0xa04]
push 0x100
push eax
call fcn.0104261c
mov edi, dword [esi]
push 0x30
push 0x94a
call fcn.01052a94
push eax
lea eax, [ebp - 0xa04]
push eax
push ebx
mov ecx, esi
call dword [edi + 0x18]
mov edi, dword [esi]
push ebx
push 0x943
call fcn.01052a94
push eax
push 0x937
call fcn.01052a94
push eax
push ebx
mov ecx, esi
call dword [edi + 4]
jmp 0x1043398
mov eax, dword [ebp - 0xb28]
cmp eax, ebx
je 0x10432d6
cmp dword [eax], ebx
mov dword [ebp - 0xb24], ebx
jbe 0x10432d0
jmp 0x1042f14
mov eax, dword [ebp - 0xb28]
mov ecx, dword [ebp - 0xb24]
mov eax, dword [eax + 4]
mov ebx, ecx
shl ebx, 2
push dword [eax + ebx]
lea eax, [ebp - 0x804]
push dword [ebp - 0xb48]
push ecx
push dword [ebp + 0x10]
push 0x100d23c
push 0x400
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
and word [ebp - 6], 0
mov edi, dword [esi]
add esp, 0x1c
push 0
push 0x93e
call fcn.01052a94
push eax
push 0x931
call fcn.01052a94
push eax
lea eax, [ebp - 0x804]
push eax
mov ecx, esi
call dword [edi + 4]
mov edi, dword [esi]
push 0x7f02
push 0
mov dword [ebp - 0xb2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [edi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xb20], eax
call edi
mov dword [ebp - 0xb1c], eax
lea eax, [ebp - 0xb5c]
push eax
mov eax, dword [ebp - 0xb28]
mov eax, dword [eax + 4]
push dword [eax + ebx]
call fcn.0104177a
test eax, eax
jne 0x1043057
call fcn.0106d6ff
push dword [ebp - 0xb20]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0xb28]
mov eax, dword [eax + 4]
push edi
push 0x833013f
push dword [eax + ebx]
call fcn.0105364b
mov ebx, dword [esi]
push 0x933
call fcn.01052a94
push eax
push dword [ebp - 0xb2c]
mov ecx, esi
call dword [ebx + 8]
push 0x204
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x104302b
push 0x8007000e
push 0x83d013f
call fcn.01053610
jmp 0x10432b4
push edi
lea eax, [ebx + 4]
and word [eax], 0
push 0x100
push eax
mov dword [ebx], 3
call fcn.010425f6
mov eax, dword [esi]
push ebx
push dword [ebp - 0xb2c]
mov ecx, esi
call dword [eax + 0xc]
jmp 0x10432b4
push dword [ebp - 0xb20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
call edi
sub eax, dword [ebp - 0xb1c]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [esi]
mov ecx, esi
push eax
push dword [ebp - 0xb2c]
mov dword [ebp - 0xb44], eax
call dword [edx + 0x10]
mov edi, dword [esi]
push 0x932
call fcn.01052a94
push eax
push dword [ebp - 0xb2c]
mov ecx, esi
call dword [edi + 8]
push dword [ebp - 0xb3c]
and dword [ebp - 0xb20], 0
push dword [ebp - 0xb5c]
call dword [sym.imp.CRYPT32.dll_CertEnumCRLsInStore]
test eax, eax
mov dword [ebp - 0xb3c], eax
je 0x10432b4
jmp 0x10430d0
mov eax, dword [ebp - 0xb3c]
push 0x10059b8
push dword [ebp - 0xb40]
push dword [0x1079e00]
push dword [0x107bb40]
push dword [eax + 8]
push dword [eax + 4]
call fcn.010250ab
inc dword [ebp - 0xb40]
test eax, eax
je 0x1043107
push eax
push 0x86f013f
call fcn.01053610
mov eax, dword [ebp - 0xb28]
mov eax, dword [eax + 4]
push dword [eax + ebx]
lea eax, [ebp - 0x804]
push dword [ebp - 0xb24]
push dword [ebp - 0xb20]
push dword [ebp + 0x10]
push 0x100d23c
push 0x400
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
push dword [ebp - 0xb54]
mov edi, dword [ebp - 0xb34]
and word [ebp - 6], 0
push edi
call dword [sym.imp.msvcrt.dll_wcscpy]
add esp, 0x24
push dword [ebp - 0xb38]
call fcn.0105743b
test eax, eax
je 0x104317c
push eax
mov eax, dword [ebp - 0xb78]
lea eax, [edi + eax*2]
push 0x100d218
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebp - 0xb20], 0
push dword [ebp - 0xb44]
mov eax, dword [esi]
push edi
push 0x934
jne 0x10431b9
mov dword [ebp - 0xb1c], eax
call fcn.01052a94
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0xb2c]
mov eax, dword [ebp - 0xb1c]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x10431dd
mov dword [ebp - 0xb1c], eax
call fcn.01052a94
push eax
lea eax, [ebp - 0x804]
push eax
mov eax, dword [ebp - 0xb1c]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0xb2c], eax
mov edi, dword [esi]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, esi
call dword [edi + 0x1c]
push dword [ebp - 0xb3c]
mov edi, eax
push dword [ebp - 0xb38]
push dword [ebp - 0xb58]
push dword [ebp - 0xb68]
call fcn.0104232c
mov dword [ebp - 0xb1c], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0xb1c]
mov eax, dword [esi]
push dword [ebp - 0xb2c]
mov ecx, esi
call dword [eax + 8]
push 0x204
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
test edx, edx
pop ecx
mov dword [ebp - 0xb1c], edx
jne 0x104325a
push 0x8007000e
push 0x8a3013f
call fcn.01053610
jmp 0x104328e
push dword [ebp - 0xb3c]
xor eax, eax
mov edi, edx
mov ecx, 0x81
rep stosd dword es:[edi], eax
mov dword [edx], 2
call dword [sym.imp.CRYPT32.dll_CertDuplicateCRLContext]
mov ecx, dword [ebp - 0xb1c]
push ecx
push dword [ebp - 0xb2c]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 0xb3c]
inc dword [ebp - 0xb20]
push dword [ebp - 0xb5c]
call dword [sym.imp.CRYPT32.dll_CertEnumCRLsInStore]
test eax, eax
mov dword [ebp - 0xb3c], eax
jne 0x10430ca
inc dword [ebp - 0xb24]
mov eax, dword [ebp - 0xb28]
mov ecx, dword [ebp - 0xb24]
cmp ecx, dword [eax]
jb 0x1042f0e
xor ebx, ebx
inc dword [ebp - 0xb48]
push dword [ebp - 0xb38]
push dword [ebp - 0xb4c]
call dword [sym.imp.CRYPT32.dll_CertEnumCRLsInStore]
cmp eax, ebx
mov dword [ebp - 0xb38], eax
jne 0x1042c42
mov dword [ebp - 0xb64], 1
jmp 0x1043398
call fcn.0106d6ff
push dword [ebp - 0xb20]
mov dword [ebp - 0xb24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0xb24]
push 0x746013f
push dword [ebp - 0xb50]
call fcn.0105364b
mov edi, dword [esi]
push 0x933
call fcn.01052a94
push eax
push dword [ebp - 0xb30]
mov ecx, esi
call dword [edi + 8]
push 0x204
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x104336d
push 0x8007000e
push 0x74e013f
call fcn.01053610
jmp 0x10433be
push dword [ebp - 0xb24]
lea eax, [edi + 4]
push 0x100
push eax
mov dword [edi], 3
mov word [eax], bx
call fcn.010425f6
mov eax, dword [esi]
push edi
push dword [ebp - 0xb30]
mov ecx, esi
call dword [eax + 0xc]
cmp dword [ebp - 0xb34], ebx
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x10433ae
push dword [ebp - 0xb34]
call esi
cmp dword [ebp - 0xb28], ebx
je 0x10433be
push dword [ebp - 0xb28]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xb64]
pop edi
pop esi
pop ebx
call fcn.0104b509
leave
ret 0x18