Function at 0x45b8d0
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482851
mov eax, dword fs:[0]
push eax
mov eax, 0x4ea4
call fcn.00462c30
mov eax, dword [0x4ade78]
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 edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4ea0], edi
mov dword [ebp - 0x4eb0], 0
mov dword [ebp - 0x4eac], 0
mov dword [ebp - 0x4ea8], 0
push 0
push eax
lea eax, [ebp - 0x4e98]
push eax
mov dword [ebp - 4], 0
call fcn.0045a3f0
add esp, 0xc
lea ecx, [ebp - 0x4eb0]
push 0x2001f
push dword [eax]
push dword [0x4adbb0]
call fcn.0041c100
mov edx, dword [ebp - 0x4e98]
test eax, eax
setne bl
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45b982
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x45b9dc
mov edx, dword [0x4af2c0]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 5
jne 0x45b9c9
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor edx, edx
mov ecx, 0x4ef02fb7
div ecx
mov esi, edx
call edi
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
lea esi, [edx - 1]
test esi, esi
jg 0x45b9b8
mov esi, dword [ebp - 0x4eb0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x45bcec
push 0x3fff
lea eax, [ebp - 0x400f]
push 0
push eax
mov dword [ebp - 0x4ea4], 0x4000
mov byte [ebp - 0x4010], 0
call fcn.00462e00
mov esi, dword [ebp - 0x4eb0]
add esp, 0xc
xor ebx, ebx
jmp 0x45ba10
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4ea4]
push eax
lea eax, [ebp - 0x4010]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc ebx
mov dword [ebp - 0x4e9c], eax
mov dword [ebp - 0x4e98], ebx
test eax, eax
je 0x45ba4a
cmp eax, 0x103
jne 0x45bcd3
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4e90], eax
lea eax, [ebp - 0x4010]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x45ba92
movzx esi, ax
push 0
push esi
call fcn.00403750
add esp, 8
test eax, eax
je 0x45babc
push esi
push eax
lea ecx, [ebp - 0x4e90]
call fcn.00405c50
jmp 0x45babc
lea ecx, [ebp - 0x4010]
lea edx, [ecx + 1]
jmp 0x45baa0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45baa0
sub ecx, edx
push ecx
lea eax, [ebp - 0x4010]
push eax
lea ecx, [ebp - 0x4e90]
call fcn.00408620
mov ebx, dword [0x4af2c0]
mov eax, ebx
imul eax, ebx
imul eax, ebx
cdq
mov ecx, 0x12
idiv ecx
mov byte [ebp - 4], 2
cmp edx, 0xc
jne 0x45bb12
xor ecx, ecx
lea ecx, [ecx]
mov eax, dword [ebp + ecx*4 - 0x43f8]
add eax, dword [ebp + ecx*4 - 0x43fc]
add ecx, 4
add eax, dword [ebp + ecx*4 - 0x4410]
add eax, dword [ebp + ecx*4 - 0x4414]
shl eax, 6
add ebx, eax
cmp ecx, 0x3f4
jb 0x45bae0
mov dword [0x4af2c0], ebx
mov eax, dword [ebp - 0x4e90]
cmp dword [eax - 0xc], 0
je 0x45bb32
lea eax, [ebp - 0x4e90]
push eax
mov ecx, edi
call fcn.0045a090
mov ebx, dword [0x4af2c0]
push 0x4000
lea eax, [ebp - 0x4010]
push 0
push eax
mov dword [ebp - 0x4ea4], 0x4000
call fcn.00462e00
lea eax, [ebx + 1]
imul eax, ebx
add esp, 0xc
and eax, 0x8000000f
jns 0x45bb64
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 7
jne 0x45bc04
xor eax, eax
mov dword [ebp - 0x4e94], eax
lea ecx, [ebp - 0x4390]
jmp 0x45bb80
xor edx, edx
mov dword [ebp - 0x4e8c], edx
mov dword [ebp - 0x4e88], ecx
mov edi, edi
lea ecx, [eax + 1]
lea edi, [edx + 1]
mov eax, ebx
cdq
idiv ecx
mov eax, ebx
mov ecx, ebx
sub ecx, dword [ebp - 0x4e94]
mov ebx, dword [ebp - 0x4e88]
mov esi, edx
cdq
imul esi, ecx
idiv edi
add esi, eax
sub esi, dword [ebp - 0x4e8c]
push esi
push 0x490f88
mov dword [ebx], esi
call fcn.004628cc
mov eax, dword [ebp - 0x4e94]
add ebx, 4
mov edx, edi
add esp, 8
mov dword [ebp - 0x4e88], ebx
mov ebx, dword [0x4af2c0]
mov dword [ebp - 0x4e8c], edx
cmp edx, 0x10
jl 0x45bb90
inc eax
mov dword [ebp - 0x4e94], eax
cmp eax, 0xe
jge 0x45bc04
mov ecx, dword [ebp - 0x4e88]
jmp 0x45bb80
call fcn.0045c9e0
test al, al
jne 0x45bc97
xor edi, edi
lea eax, [ebp - 0x4e84]
lea esp, [esp]
xor ecx, ecx
mov dword [ebp - 0x4e8c], ecx
mov dword [ebp - 0x4e88], eax
mov edi, edi
lea esi, [ecx + 1]
mov eax, ebx
cdq
lea ecx, [edi + 1]
idiv ecx
mov eax, ebx
sub eax, edi
mov ecx, edx
imul ecx, eax
mov eax, ebx
cdq
idiv esi
mov ebx, dword [ebp - 0x4e88]
add ecx, eax
sub ecx, dword [ebp - 0x4e8c]
push ecx
push 0x490f88
call fcn.004628cc
mov ecx, esi
add ebx, 4
add esp, 8
mov dword [ebp - 0x4e8c], ecx
mov dword [ebp - 0x4e88], ebx
cmp ecx, 0x1c
jge 0x45bc83
mov ebx, dword [0x4af2c0]
jmp 0x45bc30
inc edi
cmp edi, 0x18
jge 0x45bc97
mov ebx, dword [0x4af2c0]
mov eax, dword [ebp - 0x4e88]
jmp 0x45bc20
mov edx, dword [ebp - 0x4e90]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45bcbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x4ea0]
mov ebx, dword [ebp - 0x4e98]
mov esi, dword [ebp - 0x4eb0]
mov eax, dword [ebp - 0x4e9c]
test eax, eax
je 0x45ba10
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x45bcea
push esi
call edi
xor esi, esi
mov bl, 1
test esi, esi
je 0x45bcf3
push esi
call edi
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.00461234
mov esp, ebp
pop ebp
ret