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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461f71
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
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 eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xb0], 0
call esi
cmp eax, 8
ja 0x408cec
out 0x52, al
adc ebp, dword [edi - 0x66dd1f8f]
test eax, 0x8c85578d
xor al, 0xb5
mov ah, 0x63
enter 0x5df0, 0xffffffffffffff97
fstp st(6)
push ecx
invalid
cwde
dec ebp
mov bl, 0xe1
insb byte es:[edi], dx
stc
ja 0x408d62
pop ss
mov ecx, 0xda1a9b31
nop
xor eax, eax
push eax
push 0x46cd04
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00402380
mov dword [ebp - 4], 0
call esi
cmp eax, 3
ja 0x408d45
jl 0x408cdd
dec ebp
dec esp
inc esp
lodsd eax, dword [esi]
invalid
push 9
xor eax, eax
push 0x46cf20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00402380
mov byte [ebp - 4], 1
call esi
cmp eax, 8
ja 0x408dce
shr al, 0x18
xchg esi, eax
invalid
adc byte [ebx], bh
invalid
push 0
push 0
mov dword [ebp - 0x74], 0
call fcn.0040ce80
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
call esi
cmp eax, 4
ja 0x408e1f
invalid
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 2
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x46cee4
mov word [ecx], ax
call fcn.00402380
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push edi
mov word [ecx], ax
call fcn.00401f90
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040cec0
add esp, 0x30
call esi
cmp eax, 9
ja 0x408ee6
invalid
mov eax, dword [ebp - 0x78]
mov ebx, dword [eax]
mov dword [ebp - 0x64], ebx
cmp ebx, eax
je 0x4093e4
jmp 0x408f00
push 0
push 0
mov dword [ebp - 0x6c], 0
call fcn.0040ce80
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
call esi
cmp eax, 6
ja 0x408f65
or byte [eax], dl
inc ebx
jne 0x408f8e
sbb ch, dl
invalid
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 1
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x46cf34
mov word [ecx], ax
call fcn.00402380
sub esp, 0x18
mov ecx, esp
xor edx, edx
push 0xffffffffffffffff
mov byte [ebp - 4], 5
lea eax, [ebx + 8]
push edx
sbb byte [ebx + 0x6ad233cc], cl
inc esi
inc ebp
cld
add eax, 0x5208438d
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00401f90
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0040cec0
add esp, 0x30
call esi
cmp eax, 1
ja 0x408fdf
pop es
and cl, bh
jae 0x408f6f
cmp eax, 0x36fa782c
push 0xffffffffffffff86
mov esp, 0xc783aa68
xor ah, 0x2f
push 0xffffffffffffff8b
inc ebp
nop
mov eax, dword [ebp - 0x70]
mov edi, dword [eax]
mov dword [ebp - 0x68], edi
cmp edi, eax
je 0x4093bf
nop
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 1
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x46cf38
mov word [ecx], ax
call fcn.00402380
sub esp, 0x18
mov ecx, esp
xor edx, edx
push 0xffffffffffffffff
mov byte [ebp - 4], 6
lea eax, [edi + 8]
push edx
mov dword [ecx + 0x14], 7
add byte [eax], al
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00401f90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040d180
add esp, 0x30
mov byte [ebp - 4], 7
call esi
cmp eax, 9
ja 0x4090be
jecxz 0x409086
stosb byte es:[edi], al
aad 0x4d
sub esi, dword [edi]
sal dword [edi + 0x7fae3f14], 1
in al, 0x99
jl 0x40902d
dec esp
or byte [esi + 0xd], bh
mov esp, 0xc136db05
mov edi, 0x61908497
ret 0xe316
cld
js 0x4090f2
push ebp
test dword [edi + 0x458125f3], ecx
arpl dx, di
shl dword [esi], 1
mov byte [ebp + 0x11], ch
fistp qword [edx]
pop es
jae 0x409100
jmp 0x83bf2129
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x28]
cmovae ecx, edx
lea esi, [ecx + eax*2]
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp eax, esi
je 0x40910d
fmul dword [ebx + 0x4d8de845]
fmul dword [edi]
inc ebx
retf 0x4d89
mov ebx, eax
sub dword [ebp - 0x60], ebx
mov edi, dword [ebp - 0x60]
lea esp, [esp]
movzx eax, word [ebx]
push eax
call fcn.0044842d
add edx, dword [eax - 0x18]
xor al, 0xf3
add eax, dword [eax]
mov word [edi + ebx], ax
add ebx, 2
add esp, 4
cmp ebx, esi
jne 0x4090f0
mov edi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, 4
ja 0x40914d
fsub qword [ebp - 0x7a242904]
or ebx, esp
push ecx
xchg dword [edi], edx
shl ebx, 0x8d
or eax, 0x9a8ddb06
stc
js 0x4090c4
scasd eax, dword es:[edi]
mov byte [ebx], cl
or byte [ecx + edi + 0x3a], dh
stc
insd dword es:[edi], dx
sub eax, 0xcc7bc80a
invalid
push dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00401640
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x409184
or al, 0x56
arpl word gs:[edi], dx
in al, 0x1a
xchg edi, eax
xor bl, ch
sbb dword [eax - 0x52c5b3b8], esp
or al, byte [ebx - 0x5b827ca4]
add byte [ebp + 0x28], bh
cmp dword [ebp - 0x5c], 0
jge 0x4091b2
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 8
jb 0x40919f
push dword [ebp - 0x28]
call fcn.00447bb4
add esp, 4
mov edi, dword [edi]
mov dword [ebp - 0x68], edi
cmp edi, dword [ebp - 0x70]
jne 0x408ff0
jmp 0x4093bf
xor eax, eax
push eax
push 0x46cd04
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
call fcn.00402380
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0040d310
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x7c], 8
jb 0x40920b
push dword [ebp - 0x90]
call fcn.00447bb4
add esp, 4
call esi
cmp eax, 7
ja 0x409263
cmp dh, bl
jmp 0x2bfc1ad8
xor eax, eax
push eax
push 0x46cd04
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
call fcn.00402380
mov byte [ebp - 4], 9
push 1
xor eax, eax
push 0x46cf3c
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
call fcn.00402380
lea eax, [ebp - 0xac]
push eax
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0040d310
add esp, 4
cmp dword [ebp - 0x7c], 8
jb 0x4092ee
invalid
push dword [ebp - 0x90]
call fcn.00447bb4
add esp, 4
xor eax, eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x98], 8
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
jb 0x409320
push dword [ebp - 0xac]
call fcn.00447bb4
add esp, 4
call esi
cmp eax, 2
ja 0x409346
dec esp
jbe 0x4092bc
mov eax, dword [0x58293dbe]
bound esi, qword [ecx]
jmp 0x4093b1
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401f90
call esi
cmp eax, 7
clc
pop es
ja 0x4093ae
cmpsd dword [esi], dword es:[edi]
push eax
push edi
sub al, 0x24
inc edx
xchg ebp, ecx
in eax, 0x51
mov eax, dword [0xa604ade6]
mov ebx, 0x77fa69bd
movsd dword es:[edi], dword [esi]
lahf
ror ch, 1
pop ecx
cwde
loop 0x409359
xchg dword [0x13286065], ebx
cmp al, 0xf6
push esi
cld
insb byte es:[edi], dx
jecxz 0x4093e3
rcl eax, 0xe4
adc al, 0xae
push cs
pop eax
outsb dx, byte [esi]
mov esi, 0x194ca4c9
sbb bh, dl
xchg ebp, eax
invalid
cmp dword [ebp - 0x14], 8
jb 0x4093bf
or byte [edx + 0xb], dh
push dword [ebp - 0x28]
call fcn.00447bb4
add esp, 4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0040ce20
push dword [ebp - 0x70]
call fcn.00447bb4
mov ebx, dword [ebx]
add esp, 4
mov dword [ebp - 0x64], ebx
cmp ebx, dword [ebp - 0x78]
jne 0x408f00
dec dword [ebx - 0x9363]
dec dword [ebp - 0x74af57bb]
retf
mov ebx, dword [ebp - 0x94]
lea eax, [ebp - 0x58]
push eax
mov ecx, ebx
call fcn.00401d90
lea ecx, [ebp - 0x78]
call fcn.0040ce20
push dword [ebp - 0x78]
call fcn.00447bb4
add esp, 4
cmp dword [ebp - 0x2c], 8
jb 0x409419
push dword [ebp - 0x40]
call fcn.00447bb4
add esp, 4
xor eax, eax
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x40943e
push dword [ebp - 0x58]
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