Function at 0x40e710
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433760
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x445008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], edx
mov eax, ecx
mov dword [ebp - 0x88], eax
cmp dword [eax + 0x10], 0
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x74], ecx
je 0x40f677
test ecx, ecx
je 0x40f677
cmp dword [edx + 0x10], 0
je 0x40f677
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push 0x436398
push 1
push 0
push 0x4363a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40f677
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [eax]
mov edi, dword [eax + 0x28]
lea eax, [ebp - 0xb8]
push eax
call esi
movups xmm0, xmmword [ebp - 0xb8]
lea eax, [ebp - 0xa0]
push eax
movups xmmword [ebp - 0x148], xmm0
call esi
movups xmm0, xmmword [ebp - 0xa0]
lea eax, [ebp - 0xd0]
push eax
movups xmmword [ebp - 0x158], xmm0
call esi
movups xmm0, xmmword [ebp - 0xd0]
lea eax, [ebp - 0x108]
push eax
movups xmmword [ebp - 0x120], xmm0
call esi
movups xmm0, xmmword [ebp - 0x148]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x158]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x120]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x108]
push dword [ebp - 0x3c]
movups xmmword [eax], xmm0
call edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x8c], edi
push eax
call edi
lea eax, [ebp - 0xd0]
push eax
call edi
lea eax, [ebp - 0xa0]
push eax
call edi
lea eax, [ebp - 0xb8]
push eax
call edi
mov eax, dword [ebp - 0x3c]
test esi, esi
js 0x40e954
mov dword [ebp - 0x30], 0
mov eax, dword [eax]
push 0xc
mov edi, dword [eax + 0x1c]
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
mov dword [esi], 0
mov eax, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x43b324
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [ebp - 0x7c], eax
call eax
mov dword [esi], eax
test eax, eax
je 0x40f6e9
lea eax, [ebp - 0x30]
push eax
push dword [esi]
push dword [ebp - 0x3c]
call edi
test eax, eax
sets byte [ebp - 0x81]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x78], eax
jne 0x40e948
mov ecx, dword [esi]
test ecx, ecx
je 0x40e926
push ecx
call eax
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40e93d
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
cmp byte [ebp - 0x81], 0
je 0x40e95f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40f677
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x70], eax
cmp dword [eax + 0x14], 8
jb 0x40e97e
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
push 0xc
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
mov dword [esi], 0
push dword [ebp - 0x70]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
jne 0x40e9bb
cmp dword [ebp - 0x70], eax
jne 0x40f6e9
push 0
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x6c]
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x40ea00
mov eax, dword [esi]
test eax, eax
je 0x40e9de
push eax
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40e9f5
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], 0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x3c]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
jns 0x40ea33
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40f677
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
js 0x40ea25
mov ecx, dword [ebp - 0x5c]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jns 0x40ea8e
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40f677
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 0x60], 0
push 2
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x64], 0
push 9
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x4c]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40ea77
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], 0
push 0x436388
mov eax, dword [ecx]
push ecx
call dword [eax]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0
push 0x4363b8
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40ea77
mov eax, dword [ebp - 0x40]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x6c], eax
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
mov dword [esi], 0
push str.Trigger1
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
je 0x40f6e9
push eax
push dword [ebp - 0x40]
call dword [ebp - 0x6c]
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x40eb9d
mov eax, dword [esi]
test eax, eax
je 0x40eb7b
push eax
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40eb92
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x128]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x6c], eax
call fcn.0040f700
mov dword [ebp - 0x70], eax
cmp dword [eax + 0x14], 8
jb 0x40ebc1
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
push 0xc
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
mov dword [esi], 0
push dword [ebp - 0x70]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
jne 0x40ebfe
cmp dword [ebp - 0x70], eax
jne 0x40f6e9
push eax
push dword [ebp - 0x40]
call dword [ebp - 0x6c]
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x40ec41
mov eax, dword [esi]
test eax, eax
je 0x40ec1f
push eax
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40ec36
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x114]
cmp ecx, 8
jb 0x40ec81
mov edx, dword [ebp - 0x128]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ec77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6da
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x40]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [ebp - 0x48]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x6c], eax
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
mov dword [esi], 0
push str.Trigger2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
je 0x40f6e9
push eax
push dword [ebp - 0x48]
call dword [ebp - 0x6c]
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x40ed14
mov eax, dword [esi]
test eax, eax
je 0x40ecf2
push eax
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40ed09
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x40]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40ea77
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0
call fcn.00407bc0
push 2
push 0x43b6c8
push ecx
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0xffffffff
call fcn.00408990
mov dword [ebp - 0xb0], 0
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xac], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc0], xmm0
xor ecx, ecx
movups xmm0, xmmword [eax]
push 0x43b6c4
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xd8]
call fcn.004080a0
add esp, 4
mov dword [ebp - 0x70], eax
cmp dword [eax + 0x14], 8
jb 0x40ede4
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
push 0xc
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
mov dword [esi], 0
push dword [ebp - 0x70]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
jne 0x40ee21
cmp dword [ebp - 0x70], eax
jne 0x40f6e9
push eax
push dword [ebp - 0x38]
call dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x40ee67
mov ecx, dword [esi]
test ecx, ecx
je 0x40ee45
push ecx
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40ee5c
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0xc4]
cmp ecx, 8
jb 0x40eea7
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ee9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6df
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
cmp ecx, 8
jb 0x40ef04
mov edx, dword [ebp - 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40eefa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6df
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0xfc]
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
cmp ecx, 8
jb 0x40ef61
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ef57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6df
push ecx
push edx
call fcn.004205b6
add esp, 8
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x6c], 0
jl 0x40ea77
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x38]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x48]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40ea77
mov ecx, dword [ebp - 0x38]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
jns 0x40efc3
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40f677
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 1
call fcn.00407bc0
push 2
push 0x43b6c8
push ecx
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0xffffffff
call fcn.00408990
mov dword [ebp - 0x98], 0
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa8], xmm0
xor ecx, ecx
movups xmm0, xmmword [eax]
push 0x43b6c4
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
call fcn.004080a0
mov ecx, dword [ebp - 0x94]
add esp, 4
cmp ecx, 8
jb 0x40f090
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f086
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6e4
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x15c]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
cmp ecx, 8
jb 0x40f0ed
mov edx, dword [ebp - 0x170]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f0e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6e4
push ecx
push edx
call fcn.004205b6
add esp, 8
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x18], 8
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
push dword [ebp - 0x74]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
jne 0x40f143
cmp dword [ebp - 0x74], eax
jne 0x40f6e9
push eax
push dword [ebp - 0x38]
call dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x40f189
mov ecx, dword [esi]
test ecx, ecx
je 0x40f167
push ecx
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40f17e
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x6c], 0
jl 0x40f2b8
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
js 0x40f2b8
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], 0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x58]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40f2b8
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], 0
push str.MbLk
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x54]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40f2b8
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x14], 8
jb 0x40f225
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
push 0xc
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
mov dword [esi], 0
push dword [ebp - 0x80]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
jne 0x40f262
cmp dword [ebp - 0x80], eax
jne 0x40f6e9
push eax
push dword [ebp - 0x50]
call dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x40f2ab
mov ecx, dword [esi]
test ecx, ecx
je 0x40f286
push ecx
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40f29d
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
mov eax, dword [ebp - 0x6c]
add esp, 8
test eax, eax
jns 0x40f2cf
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40f63d
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
js 0x40f393
mov eax, dword [ebp - 0x44]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x44]
push 0x80
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x44]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x44]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push str.PT0S
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
call fcn.0040e670
mov eax, dword [eax]
test eax, eax
je 0x40f338
mov eax, dword [eax]
jmp 0x40f33a
xor eax, eax
push eax
push dword [ebp - 0x44]
call esi
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x40f387
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x40f387
test esi, esi
je 0x40f387
mov eax, dword [esi]
test eax, eax
je 0x40f365
push eax
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40f37c
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x30]
mov esi, 8
mov dword [ebp - 0x68], 0
push 0x43b320
mov eax, dword [eax]
mov word [ebp - 0x138], si
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x74], eax
call dword [ebp - 0x7c]
mov dword [ebp - 0x130], eax
test eax, eax
je 0x40f6e9
movups xmm0, xmmword [ebp - 0x138]
push 0x43b322
lea ecx, [ebp - 0x80]
movups xmmword [ebp - 0x120], xmm0
call fcn.0040e670
mov word [ebp - 0xf8], si
mov esi, dword [eax]
test esi, esi
je 0x40f414
mov esi, dword [esi]
test esi, esi
je 0x40f414
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x40f6e9
jmp 0x40f41e
mov dword [ebp - 0xf0], 0
movups xmm0, xmmword [ebp - 0xf8]
push 0x43b322
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x158], xmm0
call fcn.0040e670
mov ecx, 8
mov word [ebp - 0xe8], cx
mov esi, dword [eax]
test esi, esi
je 0x40f470
mov esi, dword [esi]
test esi, esi
je 0x40f470
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [ebp - 0xe0], eax
test eax, eax
je 0x40f6e9
jmp 0x40f47a
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x34]
movups xmm0, xmmword [ebp - 0xe8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x88]
movups xmmword [ebp - 0x148], xmm0
cmp dword [eax + 0x14], 8
jb 0x40f4a2
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
push 0xc
call fcn.00420581
mov esi, eax
add esp, 4
test esi, esi
je 0x40f6e9
push dword [ebp - 0x88]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [ebp - 0x7c]
mov dword [esi], eax
test eax, eax
jne 0x40f4e5
cmp dword [ebp - 0x88], eax
jne 0x40f6e9
movups xmm0, xmmword [ebp - 0x120]
lea eax, [ebp - 0x68]
push eax
sub esp, 0x10
mov eax, esp
push 0
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x158]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x148]
push 6
push dword [ebp - 0x6c]
movups xmmword [eax], xmm0
push dword [esi]
push dword [ebp - 0x30]
call dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x40f564
mov ecx, dword [esi]
test ecx, ecx
je 0x40f542
push ecx
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40f559
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
lea eax, [ebp - 0xe8]
push eax
call dword [ebp - 0x8c]
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x40f5bf
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x40f5b8
test esi, esi
je 0x40f5b8
mov eax, dword [esi]
test eax, eax
je 0x40f596
push eax
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40f5ad
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0xf8]
push eax
call dword [ebp - 0x8c]
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x40f618
lock xadd dword [esi + 8], edi
dec edi
jne 0x40f611
test esi, esi
je 0x40f611
mov eax, dword [esi]
test eax, eax
je 0x40f5ef
push eax
call dword [ebp - 0x78]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40f606
push eax
call fcn.00420c1a
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004205b6
add esp, 8
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x138]
push eax
call dword [ebp - 0x8c]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x6c], 0
jge 0x40f697
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40f677
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f66d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6f3
push ecx
push edx
call fcn.004205b6
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420573
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40f6d6
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f6cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f6f3
push ecx
push edx
call fcn.004205b6
add esp, 8
mov al, 1
jmp 0x40f679
call fcn.0042552f
call fcn.0042552f
call fcn.0042552f
push 0x8007000e
call fcn.00422cb0
call fcn.0042552f
int3