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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd7dd
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x663000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 0x10c], 0
mov dword [ebp - 0xfc], 0
test edi, edi
jne 0x40e411
mov dword [ebp - 0xf8], 0xffffffff
jmp 0x40e4a2
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jge 0x40e425
mov dword [ebp - 0xf8], 0xffffffff
jmp 0x40e4a2
push edi
push eax
call fcn.005b2b42
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e441
mov dword [ebp - 0xf8], 0xffffffff
jmp 0x40e4a2
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
sub esi, eax
sar esi, 1
mov dword [ebp - 0xf8], esi
js 0x40e4a2
mov ecx, dword [ebp - 0x104]
test ecx, ecx
je 0x40f75a
cmp esi, dword [eax - 0xc]
jg 0x40f75a
lea eax, [eax + esi*2]
push ecx
push eax
call fcn.005b2b42
mov edi, eax
add esp, 8
test edi, edi
jne 0x40e484
or edi, 0xffffffff
jmp 0x40e48e
mov eax, dword [ebp - 0x108]
sub edi, dword [eax]
sar edi, 1
mov dword [ebp - 0xfc], edi
cmp edi, esi
jle 0x40f75a
mov edi, dword [ebp - 0xf0]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x104], eax
call fcn.0041ca00
movsd xmm0, qword [0x637690]
movsd qword [ebp - 0x114], xmm0
cmp dword [eax + 4], 3
jl 0x40eac2
call fcn.0041ca00
push ecx
lea ecx, [ebp - 0x204]
mov dword [ebp - 0xf0], eax
call fcn.00415de0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
push str.TRACE
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00415110
xor edx, edx
mov dword [ebp - 0x40], 0
mov edi, 7
mov dword [ebp - 0x30], edx
xor eax, eax
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
xor esi, esi
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0xc], esi
jle 0x40e5a1
cmp esi, 0xa
jge 0x40e5a1
mov eax, edi
lea ecx, [ebp - 0x40]
sub eax, edx
cmp eax, 2
jb 0x40e572
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x30], eax
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [0x6315a0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x40e58d
push 2
push 0x6315a0
mov byte [ebp - 0xec], 0
push dword [ebp - 0xec]
push 2
call fcn.0041d780
mov eax, dword [ebp - 0xf0]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x40e5a1
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x40e543
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 4
call fcn.005bb7bb
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005bb8c6
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.00415110
push ecx
lea ecx, [ebp - 0x2b4]
call fcn.00415de0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0xf0]
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x10], 0
jne 0x40e631
call eax
push 0
lea ecx, [ebp - 0x2a4]
mov dword [esi + 0x10], eax
call fcn.00410290
jmp 0x40e65d
call eax
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2a4]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6376f0]
divsd xmm1, qword [ebp - 0x114]
call fcn.0041d1a0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00416850
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xa4]
cmp ecx, 8
jb 0x40e6b3
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e6a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f7d5
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
xor eax, eax
lea ecx, [ebp - 0x2b4]
mov word [ebp - 0x88], ax
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov byte [ebp - 4], 4
call fcn.00415cc0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x2040
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xf4]
push eax
call fcn.005b1d32
mov ecx, dword [ebp - 0x1f4]
lea edx, [ebp - 0x1f4]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x1f4]
call fcn.00413940
mov esi, eax
lea eax, [ebp - 0x11c]
push 0x10
push eax
call fcn.005b1d32
mov edx, 0x6311e0
mov ecx, esi
mov edi, eax
call fcn.00413680
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 - 0x134]
push 6
push eax
call fcn.005b1d60
mov edx, eax
mov ecx, esi
call fcn.0041d750
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 - 0x144]
push eax
call fcn.005b1d46
mov edx, eax
mov ecx, esi
call fcn.0041d750
cmp dword [ebp - 0xa4], 8
lea edx, [ebp - 0xb8]
push dword [ebp - 0xa8]
cmovae edx, dword [ebp - 0xb8]
mov ecx, eax
call fcn.00413940
add esp, 0x40
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x154]
push eax
call fcn.005b1d60
mov edx, 0x6311e0
mov ecx, edi
mov esi, eax
call fcn.00413680
mov edx, esi
mov ecx, eax
call fcn.0041d750
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 - 0x124]
push eax
call fcn.005b1d32
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 - 0x5c], 8
lea edx, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
mov ecx, esi
call fcn.00413940
add esp, 0x20
mov edx, 0x6315e0
mov ecx, eax
call fcn.00413680
mov edx, dword [ebp - 0xec]
mov ecx, eax
call fcn.00413680
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66d948]
cmp eax, dword [ecx + 4]
jg 0x40f7da
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00416850
mov byte [ebp - 4], 7
mov ecx, dword [0x663aec]
cmp ecx, 8
jb 0x40e8d5
mov edx, dword [0x663ad8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e8cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f82e
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0xa0]
xor eax, eax
mov word [ebp - 0xa0], ax
movups xmmword [0x663ad8], xmm0
movq xmm0, qword [ebp - 0x90]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa4]
movq qword [0x663ae8], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
cmp ecx, 8
jb 0x40e954
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e94a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f82e
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp ecx, 8
jb 0x40e9af
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f82e
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x40ea01
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f82e
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40ea52
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f82e
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00415cc0
call fcn.0041ca00
cmp dword [0x663aec], 8
mov edx, 0x663ad8
push dword [0x663ae8]
cmovae edx, dword [0x663ad8]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, str.len
mov ecx, eax
push dword [ebp - 0x104]
call fcn.004121f0
mov ecx, eax
call fcn.00410290
push eax
call fcn.00414970
add esp, 4
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x40f0c9
call fcn.0041ca00
push ecx
lea ecx, [ebp - 0x204]
mov dword [ebp - 0xf0], eax
call fcn.00415de0
mov dword [ebp - 4], 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push str.TRACE
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.00415110
xor edx, edx
mov dword [ebp - 0x40], 0
mov edi, 7
mov dword [ebp - 0x30], edx
xor eax, eax
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xa
xor esi, esi
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0xc], esi
jle 0x40eba4
cmp esi, 0xa
jge 0x40eba4
mov eax, edi
lea ecx, [ebp - 0x40]
sub eax, edx
cmp eax, 2
jb 0x40eb75
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x30], eax
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [0x6315a0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x40eb90
push 2
push 0x6315a0
mov byte [ebp - 0xec], 0
push dword [ebp - 0xec]
push 2
call fcn.0041d780
mov eax, dword [ebp - 0xf0]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x40eba4
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x40eb46
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 0xc
call fcn.005bb7bb
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005bb8c6
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x70]
push eax
call fcn.00415110
push ecx
lea ecx, [ebp - 0x2b4]
call fcn.00415de0
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0xf0]
cmp dword [esi + 0x10], 0
jne 0x40ec33
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x2a4]
mov dword [esi + 0x10], eax
call fcn.00410290
jmp 0x40ec63
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2a4]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6376f0]
divsd xmm1, qword [ebp - 0x114]
call fcn.0041d1a0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00416850
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xbc]
cmp ecx, 8
jb 0x40ecb9
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ecaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f833
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0xa0]
xor eax, eax
lea ecx, [ebp - 0x2b4]
mov word [ebp - 0xa0], ax
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0xc0], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov byte [ebp - 4], 0xc
call fcn.00415cc0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x2040
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x124]
push eax
call fcn.005b1d32
mov ecx, dword [ebp - 0x1f4]
lea edx, [ebp - 0x1f4]
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 - 0x1f4]
call fcn.00413940
mov esi, eax
lea eax, [ebp - 0x11c]
push 0x10
push eax
call fcn.005b1d32
mov edx, 0x6311e0
mov ecx, esi
mov edi, eax
call fcn.00413680
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 - 0x154]
push 6
push eax
call fcn.005b1d60
mov edx, eax
mov ecx, esi
call fcn.0041d750
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 - 0x144]
push eax
call fcn.005b1d46
mov edx, eax
mov ecx, esi
call fcn.0041d750
cmp dword [ebp - 0xbc], 8
lea edx, [ebp - 0xd0]
push dword [ebp - 0xc0]
cmovae edx, dword [ebp - 0xd0]
mov ecx, eax
call fcn.00413940
add esp, 0x40
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x134]
push eax
call fcn.005b1d60
mov edx, 0x6311e0
mov ecx, edi
mov esi, eax
call fcn.00413680
mov edx, esi
mov ecx, eax
call fcn.0041d750
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.005b1d32
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 - 0x44], 8
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
mov ecx, esi
call fcn.00413940
add esp, 0x20
mov edx, 0x6315e0
mov ecx, eax
call fcn.00413680
mov edx, dword [ebp - 0xec]
mov ecx, eax
call fcn.00413680
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66d948]
cmp eax, dword [ecx + 4]
jg 0x40f838
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00416850
mov byte [ebp - 4], 0xf
mov ecx, dword [0x663aec]
cmp ecx, 8
jb 0x40eee4
mov edx, dword [0x663ad8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40eeda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f88c
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
xor eax, eax
mov word [ebp - 0x88], ax
movups xmmword [0x663ad8], xmm0
movq xmm0, qword [ebp - 0x78]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xbc]
movq qword [0x663ae8], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
cmp ecx, 8
jb 0x40ef5a
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ef50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f88c
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp ecx, 8
jb 0x40efb5
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40efab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f88c
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ecx, 8
jb 0x40f007
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40effd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f88c
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40f059
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f04f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f88c
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00415cc0
call fcn.0041ca00
cmp dword [0x663aec], 8
mov edx, 0x663ad8
push dword [0x663ae8]
cmovae edx, dword [0x663ad8]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, 0x63103c
mov ecx, eax
push dword [ebp - 0xf8]
call fcn.004121f0
mov ecx, eax
call fcn.00410290
push eax
call fcn.00414970
add esp, 4
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x40f6d3
call fcn.0041ca00
push ecx
lea ecx, [ebp - 0x204]
mov dword [ebp - 0xf0], eax
call fcn.00415de0
mov dword [ebp - 4], 0x10
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push str.TRACE
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.00415110
xor edx, edx
mov dword [ebp - 0x40], 0
mov edi, 7
mov dword [ebp - 0x30], edx
xor eax, eax
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x12
xor esi, esi
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0xc], esi
jle 0x40f1ae
nop dword [eax]
cmp esi, 0xa
jge 0x40f1ae
mov eax, edi
lea ecx, [ebp - 0x40]
sub eax, edx
cmp eax, 2
jb 0x40f17f
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x30], eax
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [0x6315a0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x40f19a
push 2
push 0x6315a0
mov byte [ebp - 0xec], 0
push dword [ebp - 0xec]
push 2
call fcn.0041d780
mov eax, dword [ebp - 0xf0]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x40f1ae
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x40f150
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov byte [ebp - 4], 0x14
call fcn.005bb7bb
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005bb8c6
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x70]
push eax
call fcn.00415110
push ecx
lea ecx, [ebp - 0x2b4]
call fcn.00415de0
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0xf0]
cmp dword [esi + 0x10], 0
jne 0x40f23d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x2a4]
mov dword [esi + 0x10], eax
call fcn.00410290
jmp 0x40f26d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2a4]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6376f0]
divsd xmm1, qword [ebp - 0x114]
call fcn.0041d1a0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00416850
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xd4]
cmp ecx, 8
jb 0x40f2c3
mov edx, dword [ebp - 0xe8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f2b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f891
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0xa0]
xor eax, eax
lea ecx, [ebp - 0x2b4]
mov word [ebp - 0xa0], ax
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0xd8], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov byte [ebp - 4], 0x14
call fcn.00415cc0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x2040
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x124]
push eax
call fcn.005b1d32
mov ecx, dword [ebp - 0x1f4]
lea edx, [ebp - 0x1f4]
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 - 0x1f4]
call fcn.00413940
mov esi, eax
lea eax, [ebp - 0x11c]
push 0x10
push eax
call fcn.005b1d32
mov edx, 0x6311e0
mov ecx, esi
mov edi, eax
call fcn.00413680
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 - 0x154]
push 6
push eax
call fcn.005b1d60
mov edx, eax
mov ecx, esi
call fcn.0041d750
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 - 0x144]
push eax
call fcn.005b1d46
mov edx, eax
mov ecx, esi
call fcn.0041d750
cmp dword [ebp - 0xd4], 8
lea edx, [ebp - 0xe8]
push dword [ebp - 0xd8]
cmovae edx, dword [ebp - 0xe8]
mov ecx, eax
call fcn.00413940
add esp, 0x40
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x134]
push eax
call fcn.005b1d60
mov edx, 0x6311e0
mov ecx, edi
mov esi, eax
call fcn.00413680
mov edx, esi
mov ecx, eax
call fcn.0041d750
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 - 0x114]
push eax
call fcn.005b1d32
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 - 0x44], 8
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
mov ecx, esi
call fcn.00413940
add esp, 0x20
mov edx, 0x6315e0
mov ecx, eax
call fcn.00413680
mov edx, dword [ebp - 0xec]
mov ecx, eax
call fcn.00413680
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66d948]
cmp eax, dword [ecx + 4]
jg 0x40f896
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00416850
mov byte [ebp - 4], 0x17
mov ecx, dword [0x663aec]
cmp ecx, 8
jb 0x40f4ee
mov edx, dword [0x663ad8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f4e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8ea
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
xor eax, eax
mov word [ebp - 0x88], ax
movups xmmword [0x663ad8], xmm0
movq xmm0, qword [ebp - 0x78]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xd4]
movq qword [0x663ae8], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
cmp ecx, 8
jb 0x40f564
mov edx, dword [ebp - 0xe8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f55a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8ea
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
cmp ecx, 8
jb 0x40f5bf
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f5b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8ea
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ecx, 8
jb 0x40f611
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f607
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8ea
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40f663
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f659
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8ef
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00415cc0
call fcn.0041ca00
cmp dword [0x663aec], 8
mov edx, 0x663ad8
push dword [0x663ae8]
cmovae edx, dword [0x663ad8]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, 0x631040
mov ecx, eax
push dword [ebp - 0xfc]
call fcn.004121f0
mov ecx, eax
call fcn.00410290
push eax
call fcn.00414970
add esp, 4
mov ecx, dword [ebp - 0xfc]
sub ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xf8]
sub ecx, eax
add eax, dword [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x108]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00410430
mov edi, dword [ebp - 0x100]
mov ecx, edi
push eax
mov dword [ebp - 4], 0x18
call fcn.004106c0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0xec]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f73b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov edx, 1
mov ecx, dword [ebp - 0x10c]
movzx ecx, cl
cmp dword [eax - 0xc], 0
cmovg ecx, edx
mov dword [ebp - 0x10c], ecx
jmp 0x40f760
mov edi, dword [ebp - 0x100]
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x40f7b4
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40f78a
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
mov edx, str.value
mov ecx, eax
call fcn.004121f0
mov edx, dword [edi]
mov esi, eax
mov ecx, esi
call fcn.00413680
push esi
call fcn.00414970
add esp, 8
mov al, byte [ebp - 0x10c]
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.005af765
mov esp, ebp
pop ebp
ret
call fcn.005b681f
push 0x66d948
call fcn.005afb28
add esp, 4
cmp dword [0x66d948], 0xffffffff
jne 0x40e87f
push 0x5f3ee0
mov dword [0x663ad8], 0
mov dword [0x663ae8], 0
mov dword [0x663aec], 7
call fcn.005af9af
push 0x66d948
call fcn.005afade
add esp, 8
jmp 0x40e87f
call fcn.005b681f
call fcn.005b681f
push 0x66d948
call fcn.005afb28
add esp, 4
cmp dword [0x66d948], 0xffffffff
jne 0x40ee8e
push 0x5f3ee0
mov dword [0x663ad8], 0
mov dword [0x663ae8], 0
mov dword [0x663aec], 7
call fcn.005af9af
push 0x66d948
call fcn.005afade
add esp, 8
jmp 0x40ee8e
call fcn.005b681f
call fcn.005b681f
push 0x66d948
call fcn.005afb28
add esp, 4
cmp dword [0x66d948], 0xffffffff
jne 0x40f498
push 0x5f3ee0
mov dword [0x663ad8], 0
mov dword [0x663ae8], 0
mov dword [0x663aec], 7
call fcn.005af9af
push 0x66d948
call fcn.005afade
add esp, 8
jmp 0x40f498
call fcn.005b681f
call fcn.005b681f
int3