Function at 0x40100f
Capabilities:
Create thread

Disassembly:
jmp 0x408d00
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47f23a
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [edi + 0xc4]
cmp eax, ebx
jbe 0x408ead
or ebp, 0xffffffff
test al, 1
je 0x408de7
dec eax
push 0xc
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc0], ebx
call fcn.00449acf
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x48], ebx
je 0x408d6c
push 0x49c794
mov ecx, eax
call fcn.0040131b
mov esi, eax
jmp 0x408d6e
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], esi
jne 0x408d84
push 0x8007000e
call fcn.0042f270
cmp esi, ebx
mov dword [esp + 0x48], 1
je 0x408d94
mov ecx, dword [esi]
jmp 0x408d96
xor ecx, ecx
mov eax, dword [edi + 0x448]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xec]
cmp esi, ebx
mov dword [esp + 0x48], ebp
je 0x408db5
mov ecx, esi
call fcn.004013ca
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push 0x4011cc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x408de7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [edi + 0xc4]
test al, 2
je 0x4090d4
add eax, 0xfffffffe
push 0xc
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc0], 1
call fcn.00449acf
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x48], 2
je 0x408e32
push 0x49c794
mov ecx, eax
call fcn.0040131b
mov esi, eax
jmp 0x408e34
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], esi
jne 0x408e4a
push 0x8007000e
call fcn.0042f270
cmp esi, ebx
mov dword [esp + 0x48], 3
je 0x408e5a
mov ecx, dword [esi]
jmp 0x408e5c
xor ecx, ecx
mov eax, dword [edi + 0x44c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xec]
cmp esi, ebx
je 0x408e77
mov ecx, esi
call fcn.004013ca
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push 0x4011cc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x4090d4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea ecx, [esp + 0x14]
mov dword [edi + 0xbc], ebx
push ecx
push ebx
push str.EnginStatus
push str.INPUT
mov ecx, edi
call fcn.004010c3
or ebp, 0xffffffff
test eax, eax
je 0x408fce
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xc
mov word [esp + 0x24], 8
call fcn.00449acf
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x48], 4
je 0x408f11
push 0x49c794
mov ecx, eax
call fcn.0040131b
mov esi, eax
jmp 0x408f13
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x48], ebp
jne 0x408f60
push 0x8007000e
call fcn.0042f270
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x28], eax
je 0x408f36
mov ecx, esi
call fcn.004013ca
push 0xc
call fcn.00449acf
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x48], 5
je 0x408f64
push str.VALUE
mov ecx, eax
call fcn.0040131b
mov esi, eax
jmp 0x408f66
mov eax, dword [esi]
jmp 0x408f27
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], esi
jne 0x408f7c
push 0x8007000e
call fcn.0042f270
cmp esi, ebx
mov dword [esp + 0x48], 6
je 0x408f8c
mov ecx, dword [esi]
jmp 0x408f8e
xor ecx, ecx
mov ebp, dword [esp + 0x20]
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x28]
mov ebx, esp
mov edx, dword [eax]
push ecx
mov dword [ebx], ebp
mov ebp, dword [esp + 0x3c]
push eax
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [ebx + 0xc], ebp
call dword [edx + 0x1c]
xor ebx, ebx
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x48], ebp
je 0x408fce
mov ecx, esi
call fcn.004013ca
mov ecx, edi
call fcn.0040140b
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [edi + 0x440], ebx
je 0x4090d4
push 0xc
call fcn.00449acf
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x48], 7
je 0x409013
push str.JScript
mov ecx, eax
call fcn.0040131b
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], ebx
jne 0x409029
push 0x8007000e
call fcn.0042f270
test ebx, ebx
mov dword [esp + 0x48], 8
je 0x409039
mov ebp, dword [ebx]
jmp 0x40903b
xor ebp, ebp
push 0xc
call fcn.00449acf
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x48], 9
je 0x409062
push str.OnScanEnd__
mov ecx, eax
call fcn.0040131b
mov esi, eax
jmp 0x409064
xor esi, esi
test esi, esi
mov byte [esp + 0x48], 8
mov dword [esp + 0x1c], esi
jne 0x40907b
push 0x8007000e
call fcn.0042f270
test esi, esi
mov byte [esp + 0x48], 0xa
je 0x409088
mov ecx, dword [esi]
jmp 0x40908a
xor ecx, ecx
mov eax, dword [edi + 0x440]
lea edi, [esp + 0x30]
push edi
push ebp
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x4090bd
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x4090bd
push 1
mov ecx, esi
call fcn.004011d6
test ebx, ebx
je 0x4090d4
lea ecx, [ebx + 8]
push ecx
call edi
test eax, eax
jne 0x4090d4
push 1
mov ecx, ebx
call fcn.004011d6
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret