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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df0c6
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xd8], esi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0xe4], edi
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xd0]
push str.srl::System::SetConfiguration
mov byte [ebp - 0xd4], al
call fcn.00414980
mov dword [ebp - 4], 1
call fcn.0041c750
cmp dword [eax + 4], 4
jl 0x40f35c
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004127b0
call fcn.0041c750
cmp dword [eax + 4], 3
jl 0x40f940
call fcn.0041c750
push ecx
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0xdc], eax
call fcn.004156b0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x74], 7
movups xmmword [ebp - 0x88], xmm0
mov word [ebp - 0x88], ax
push str.TRACE
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00414980
xorps xmm0, xmm0
xor edx, edx
mov edi, 7
mov dword [ebp - 0x30], edx
xor eax, eax
mov dword [ebp - 0x2c], edi
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
xor esi, esi
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0xc], esi
jle 0x40f440
cmp esi, 0xa
jge 0x40f440
mov eax, edi
lea ecx, [ebp - 0x40]
sub eax, edx
cmp eax, 2
jb 0x40f411
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x30], eax
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [0x62f6e0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x40f42c
push 2
push 0x62f6e0
mov byte [ebp - 0xe8], 0
push dword [ebp - 0xe8]
push 2
call fcn.0041d540
mov eax, dword [ebp - 0xdc]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x40f440
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x40f3e2
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 7
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], ax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 6
call fcn.005be42d
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005be553
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x70]
push eax
call fcn.00414980
push ecx
lea ecx, [ebp - 0x284]
call fcn.004156b0
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0xdc]
cmp dword [esi + 0x10], 0
jne 0x40f4c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x274]
mov dword [esi + 0x10], eax
call fcn.0040fc40
jmp 0x40f4f4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x274]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6359f0]
divsd xmm1, qword [0x635968]
call fcn.0041cf00
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00416140
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x40f544
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f53a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb9e
push ecx
push edx
call fcn.005b0fc9
add esp, 8
movups xmm0, xmmword [ebp - 0xb8]
xor eax, eax
lea ecx, [ebp - 0x284]
mov word [ebp - 0xb8], ax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0xa8]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov byte [ebp - 4], 6
call fcn.00415590
lea eax, [ebp - 0xec]
push 0x10
push eax
call fcn.005b3392
mov edi, eax
lea eax, [ebp - 0xe0]
push 0x2040
push eax
call fcn.005b3392
mov ecx, dword [ebp - 0x1c4]
lea edx, [ebp - 0x1c4]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x1c4]
call fcn.00413170
mov edx, 0x62f31c
mov ecx, eax
call fcn.00412eb0
push dword [edi + 4]
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
mov ecx, dword [edi]
call ecx
push 0
lea eax, [ebp - 0x104]
push 6
push eax
call fcn.005b33c0
mov edx, eax
mov ecx, esi
call fcn.0041d510
mov esi, eax
mov eax, 0x30
push 0
push 3
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x114]
push eax
call fcn.005b33a6
mov edx, eax
mov ecx, esi
call fcn.0041d510
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
mov ecx, eax
call fcn.00413170
add esp, 0x40
mov edi, eax
lea eax, [ebp - 0x124]
push 0
push 5
push eax
call fcn.005b33c0
mov esi, eax
mov edx, 0x62f31c
mov ecx, edi
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.0041d510
mov esi, eax
mov eax, 0x20
push 0x40
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0xf4]
push eax
call fcn.005b3392
mov ecx, dword [esi]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
cmp dword [ebp - 0x74], 8
lea edx, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae edx, dword [ebp - 0x88]
mov ecx, esi
call fcn.00413170
add esp, 0x20
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edx, 0x62f720
mov ecx, eax
cmovae esi, dword [ebp - 0x40]
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.00412eb0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66b940]
cmp eax, dword [ecx + 4]
jg 0x40fba3
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00416140
mov byte [ebp - 4], 9
mov ecx, dword [0x661acc]
cmp ecx, 8
jb 0x40f757
mov edx, dword [0x661ab8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f74d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbff
push ecx
push edx
call fcn.005b0fc9
add esp, 8
movups xmm0, xmmword [ebp - 0xa0]
xor eax, eax
mov word [ebp - 0xa0], ax
movups xmmword [0x661ab8], xmm0
movq xmm0, qword [ebp - 0x90]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
movq qword [0x661ac8], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
cmp ecx, 8
jb 0x40f7d0
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f7c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbff
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x40f822
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f818
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbff
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ecx, 8
jb 0x40f874
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f86a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbff
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40f8c9
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f8bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbff
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 1
call fcn.00415590
call fcn.0041c750
cmp dword [0x661acc], 8
mov edx, 0x661ab8
push dword [0x661ac8]
cmovae edx, dword [0x661ab8]
mov ecx, eax
call fcn.00413170
mov edx, str.config
mov ecx, eax
call fcn.00411a00
mov edi, dword [ebp - 0xe4]
mov esi, eax
mov ecx, esi
mov edx, dword [edi]
call fcn.00412eb0
push esi
call fcn.004141e0
mov esi, dword [ebp - 0xd8]
add esp, 8
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x40fb76
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x40fc04
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
push eax
push str.__ReferrerID_
mov edx, str._ReferrerID_
mov ecx, edi
call fcn.0040e2f0
add esp, 8
test al, al
je 0x40f9a3
lea eax, [ebp - 0xdc]
lea ecx, [esi + 0x10]
push eax
call fcn.00410070
mov esi, dword [ebp - 0xd8]
lea eax, [ebp - 0xdc]
mov edx, str._DetectionIDs_
push eax
push str.__DetectionIDs_
mov ecx, edi
call fcn.0040e2f0
add esp, 8
test al, al
je 0x40faaa
push dword [ebp - 0xdc]
lea ecx, [ebp - 0xb8]
call fcn.004078f2
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0xd8]
push dword [eax + 0x10]
call fcn.004078f2
push esi
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0xd8]
push eax
lea ecx, [esi + 0x2c]
call fcn.00417f40
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x8c]
cmp ecx, 8
jb 0x40fa49
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fa3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc0e
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp ecx, 8
jb 0x40faaa
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40faa0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc0e
push ecx
push edx
call fcn.005b0fc9
add esp, 8
lea eax, [ebp - 0xdc]
add esi, 0x64
push eax
push str.__ApplicationID_
mov edx, str._ApplicationID_
mov dword [ebp - 0xe4], esi
mov ecx, edi
call fcn.0040e2f0
add esp, 8
test al, al
je 0x40fae5
lea eax, [ebp - 0xdc]
mov ecx, esi
push eax
push 0x116ff
call fcn.0041a670
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x40fc13
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
push eax
push str.__SystemInfo_
mov edx, str._SystemInfo_
mov ecx, edi
call fcn.0040e2f0
mov esi, dword [ebp - 0xd8]
add esp, 8
test al, al
je 0x40fb39
mov ecx, dword [ebp - 0xe4]
push esi
call fcn.0041acc0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xa
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fb57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xdc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40fb76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd4]
call fcn.00414280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
ret 4
call fcn.005b7faf
push 0x66b940
call fcn.005b1053
add esp, 4
cmp dword [0x66b940], 0xffffffff
jne 0x40f701
xorps xmm0, xmm0
mov dword [0x661ac8], 0
xor eax, eax
mov dword [0x661acc], 7
movups xmmword [0x661ab8], xmm0
push 0x5f5930
mov word [0x661ab8], ax
call fcn.005b0f91
push 0x66b940
call fcn.005b1002
add esp, 8
jmp 0x40f701
call fcn.005b7faf
push 0x80004005
call fcn.00402449
call fcn.005b7faf
push 0x80004005
call fcn.00402449
int3