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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi*4 + 0x59de1c], ebx
je 0x4582a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi*4 + 0x59de1c]
cmp eax, 0x64
jb 0x45854b
cmp edi, ebx
je 0x4582ca
mov eax, dword [0x59a714]
jmp 0x4582b6
and dword [eax + 0x20], 0xfffffffc
mov eax, dword [eax]
cmp eax, ebx
jne 0x4582b0
mov dword [esp + 0x28], 0x458233
mov dword [0x5998c4], ebx
jmp 0x458310
mov eax, dword [0x599e04]
mov eax, dword [eax]
cmp dword [0x59ddd4], ebx
je 0x458304
cmp eax, ebx
jne 0x458302
push ebx
push 0x5c4f6d
push str.Default
call dword [sym.imp.msvcrt.dll__strdup_1]
pop ecx
push eax
call fcn.00457fda
mov dword [eax + 0x20], 3
jmp 0x458302
and dword [eax + 0x20], 0xfffffffc
mov eax, dword [eax]
cmp eax, ebx
jne 0x4582fe
mov dword [esp + 0x28], 0x458177
push 0x5c5b3c
push 0x5c5b2c
call fcn.0045567a
mov esi, eax
cmp esi, ebx
je 0x45850e
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
xor edi, edi
xor ecx, ecx
inc edi
cmp dword [ebp + 8], edi
push edi
sete cl
push ecx
push esi
call dword [eax + 0xc]
test eax, eax
js 0x4584e7
cmp dword [ebp + 8], 2
mov dword [esp + 0x20], ebx
jge 0x458385
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
push edi
setne cl
push ecx
push esi
call dword [eax + 0x10]
test eax, eax
js 0x458385
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push ebx
push eax
mov dword [esp + 0x28], ebx
call dword [ecx + 0x10]
test eax, eax
jne 0x4584d3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ebx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x45849d
lea edi, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edx, [esp + 0x30]
push edx
stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x5c24d4
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x45848d
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x3c]
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, dword [sym.imp.ole32.dll_PropVariantClear]
lea eax, [esp + 0x30]
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x5c24e8
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x45848d
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x45845f
mov eax, dword [esp + 0x18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458452
cmp dx, bx
je 0x45844e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458452
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x45842c
xor eax, eax
jmp 0x458457
sbb eax, eax
sbb eax, 0xffffffff
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x458467
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x14]
mov dword [0x57fd70], eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x48]
push dword [esp + 0x40]
push eax
call dword [esp + 0x38]
lea eax, [esp + 0x30]
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x57fd70], ebx
push dword [esp + 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push dword [esp + 0x20]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x4583a1
xor edi, edi
inc edi
push dword [esp + 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], edi
jne 0x458506
cmp dword [0x57fb74], ebx
je 0x458506
mov dword [ebp + 8], 2
mov dword [0x5998c4], edi
jmp 0x458329
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x458536
call fcn.00456a58
mov eax, dword [edi*4 + 0x59cd48]
cmp eax, ebx
jne 0x458527
push 0x27
call fcn.004555d0
jmp 0x45854e
lea ecx, [esp + 0x2c]
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
cmp dword [ebp + 8], ebx
setne cl
mov dword [ecx*4 + 0x59de1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4