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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462950
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x474860]
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 - 0x50], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 4
ja 0x4116eb
cwde
scasd eax, dword es:[edi]
xchg ebp, eax
xchg ebp, eax
in eax, dx
mov word [ecx - 0x21668b6a], gs
and dword [esi + 0x2a348f28], edx
dec ecx
fnstsw word [ebp - 0xd]
cmp al, 0x52
jo 0x41173b
sub al, 0xc4
xchg esi, eax
mov esi, 0x1a287c1a
pop ss
cwde
fsub qword [esi]
mov dh, 0xae
call eax
sal dword [edx + 0x1a2b4cc4], 0xdc
pop ecx
inc esi
aas
push 0
push 0x46cfb4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0040dbb0
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x54], 0
cmp byte [eax + 8], 0
je 0x411a10
mov dword [ebp - 0x4c], 0
mov edi, dword [eax + 4]
call fcn.004302a0
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040eef0
mov esi, eax
mov byte [ebp - 4], 1
call fcn.00430200
push eax
lea ecx, [ebp - 0x58]
call fcn.0040eef0
mov byte [ebp - 4], 2
mov edx, dword [esi]
test edx, edx
je 0x411760
xlatb
invalid
mov edx, dword [edx]
jmp 0x411762
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x41176c
mov ecx, dword [eax]
jmp 0x41176e
xor ecx, ecx
mov eax, dword [edi]
lea esi, [ebp - 0x4c]
push esi
push 0
push 0x30
push edx
push ecx
push edi
call dword [eax + 0x50]
mov esi, dword [ebp - 0x58]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x54], eax
test esi, esi
je 0x4117d8
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x4117d1
test esi, esi
je 0x4117d1
mov eax, dword [esi]
test eax, eax
je 0x4117b1
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4117c8
push eax
call fcn.004486af
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00447bb4
add esp, 4
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x411820
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x411820
test esi, esi
je 0x411820
mov eax, dword [esi]
test eax, eax
je 0x411800
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x411817
push eax
call fcn.004486af
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00447bb4
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, 2
ja 0x41184c
inc esi
invalid
cmp dword [ebp - 0x54], 0
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx]
mov dword [eax + 0x34], 8
jl 0x411a0a
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x411a0a
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x48]
push edx
push 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x41199f
test eax, eax
js 0x4119c4
call fcn.00430380
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.00411310
mov byte [ebp - 4], 3
call fcn.00430450
push eax
push dword [ebp - 0x48]
call fcn.004111e0
mov edi, eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ebx, edx
call int.004138e0
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x411944
cmp dword [ebp - 0x18], 0x10
jb 0x4118ee
push dword [ebp - 0x2c]
call fcn.00447bb4
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x41191c
mov eax, dword [esi + 0x10]
inc eax
je 0x411927
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00447c20
add esp, 0xc
jmp 0x411927
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x68], 0x10
jb 0x411955
push dword [ebp - 0x7c]
call fcn.00447bb4
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
or edi, ebx
mov byte [ebp - 4], 0
je 0x4119a5
cmp dword [ebp - 0x30], 8
jb 0x411977
push dword [ebp - 0x44]
call fcn.00447bb4
add esp, 4
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x48]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 0
jne 0x411897
mov ebx, dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jns 0x4119fc
jmp 0x4119cd
cmp dword [ebp - 0x30], 8
ror byte [eax], 1
jb 0x4119fc
push dword [ebp - 0x44]
call fcn.00447bb4
mov eax, dword [ebp - 0x4c]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x50]
jmp 0x411a10
mov ebx, dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, 2
ja 0x4119f3
ja 0x4119a7
xchg esi, eax
jle 0x4119eb
mov al, byte [0xf5e5d286]
pop edi
add dword [edx + ebp*2 + 0x20], ebp
popfd
cmp dword [ebx - 0x7a], ebx
add byte [esi + 0x6cf5d2f8], dl
cmc
insb byte es:[edi], dx
cwde
int3
mov eax, dword [ebx]
mov dword [eax + 0x34], 7
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, dword [ebp - 0x50]
jmp 0x411a10
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x54]
mov ecx, ebx
call fcn.004147a0
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040da80
mov ebx, dword [ebp - 0x60]
push 0
push ebx
call fcn.004133e0
cmp dword [ebp - 0x18], 0x10
jb 0x411a59
push dword [ebp - 0x2c]
call fcn.00447bb4
add esp, 4
mov eax, ebx
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.00447bb9
mov esp, ebp
pop ebp
ret 8